Hello. Okay, I'm setting up a small program to display images at random and i want to give people some simple image code to display in their site that uses something like <img src="http://www.mysite.com/myscript.php
"> //this calls the server script (myscript.php) that should actually echo out the appropriate image.
i will only be storing the URL'S to the images in a database and not the raw image data itself. so basically the server script will produce something like http://www.somesite.com/images/image1.jpg
..or gif of course... i intend the server script to randomly choose a url based on some other criteria but what code do i need to use in the server script "myscript.php" to properly display the image in the clients page??