Tuesday, April 24, 2012

Random image in a .php file

Im trying to make a random image display with php. Now im not talking about something that echos "image", I need something that when I view the .png file I will see a random image everytime. I wasnt sure what to search for so Im gonna ask it here. I saw someone do it before, where they 'tricked' the browser into thinking it was a .png file, when it was just some php using something to pick a random image and set it as the file.





No comments:

Post a Comment