Hi, I am using soehting like: site.com/pic.php?picture=picture.gif and on pic.php I want to display "picture.gif" I can do this using <img src="$_GET['picture']" alt="" /> But I also want to be able to use an HTML image on another page to be able to view it. So on site2.com I want to be able to sue: <img src="ite.com/pic.php?picture=picture.gif" alt="" /> and the picture to be displayed. How do I do this? It works if I echo out the image source in php using file_get_contents, but if I go to pic.php it shows the source and I want it to show the image
on top of everything place header("Content-type: image/yourimagetype"); PHP: for example, /png, /jpeg, /gif