Hey there. Now I've been wondering how to do this for a while, I'm really quite confused. I need to have a PHP file that automatically displays a file. E.g.
http://www.example.com/file.php?file=image1
I need a script that would allow me to do this:
Code:
<img src="http://www.example.com/file.php?file=image1" />
and that would display an image. Same for CSS sheets, or any other file for that matter. Basically, the PHP file needs to be the image, if you get me.
Sorry if I've phrased this badly.
Thanks!