View Single Post
Old 05-09-2007, 06:46 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,196
Quote:
Originally Posted by schneemann View Post
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.

.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote