View Full Version : Random Picture
12-11-2004, 04:17 AM
Well Im Looking For A Script That Gives Out A Random Picture Every Ammount Of Time ( 24 hours ).I Have Seen Does Scripts Of Random Picture Everytime You Refresh But Its Not Exactly What i Want.I Wanted A Script That Randomly Selects A Picture Out Of A Folder And Not One That U Have To Give Every Pictures Url( Since i want to have around 500+ pictures and cant give a link to each one :P) Well thanks for your time :)
12-11-2004, 09:30 AM
I think that for all scripts, you have to specify the photos required... it's unfortunate and time consuming, but it has to be done.
I'll have a quick look around for a script like you want though, and report back if I find anything.
12-11-2004, 01:01 PM
But if you use PHP or Perl, they can both scan a directory for the photos in it, and pick one at random, no matter what the file names are.
You may find this link helpful:
02-28-2006, 12:13 AM
Hi. I'm looking for a similar code. I have a code that makes the images random, which is good, but now, i want them to link to pages. The randomized images are banners to friends of our sites, and i want them to link to their respective websites. Can anyone help me out here?
03-02-2006, 06:45 AM
Sounds like a job for sql to me, but I don't know that much.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.