Random Images in PHP
Posted: Sat Jan 04, 2003 10:15 pm
On HostMySig.com, an image hosting website, when you upload an image, the code they give you to link to it is a PHP link like this:
They also have an option to call random images.
My question is, does anyone know how to do this? And if you know how, can type up the code for me? I am not a programmer, and know very little about PHP. I would like to add some random images in the header of a digital photography forum in the same way, and I think this code would do it.
Here's an example of what I would like to do, if I add the
Each time you hit refresh, you get a different image.
Thanks for your assistance,
Ax
Code: Select all
http://www.hostmysig.com/data/username/image.phpCode: Select all
http://www.hostmysig.com/data/username/randomsig.phpHere's an example of what I would like to do, if I add the
Each time you hit refresh, you get a different image.
Thanks for your assistance,
Ax