With little help (thanks zeb) i wrote a script who is selecting 5 random directories, from a directory listing, and 5 random pics from each of them.
but i don't want new random dirs and pics to be selected everytime someone loads the page
i want they to be selected once per day, and all day to be shown the same random stuff, and only on the other they to be selected new random stuff
do i have to save the randomly selected things in a file or there are other ways to do that?