Quote:
Originally Posted by schneemann
Why?
I don't mean that to sound negative. I just think if we had a better idea of what exactly you're trying to accomplish we might be better equipped to answer you more effectively.
It looks to me like the page you've referenced above does this:
Code:
<html>
<!--All the other stuff at the top of the document-->
<body>
<?php
$image = $_GET['image'];
// lots more should be done here, such as
// input filtering and ensuring against XSS
// then, check that the image actually exists before displaying it.
print("<img src=\"img/$image\">");
?>
</body>
</html>
|
Yeah, that's about it, other than a header section at the top of the page and a footer section at the bottom of the page. It's just passing back html.
The method he was going at it at the beginning was what confused the issue.
.