[UPHPU] Random images from multiple files

Wade Preston Shearer lists at wadeshearer.com
Thu Jul 12 06:30:20 MDT 2007


> I have been commissioned to create a website for the USU Photo  
> Guild. I have
> next to no background with php but I would like to have the  
> homepage display
> a random image taken by the members of the guild. I hear php is the  
> best way
> to go. The problem I've ran into is that I have created a separate  
> folder
> for each of the students to keep things organized. I have found  
> quite a few
> ways to display a random image if all images are in the same folder  
> but I
> cant find how to do it to support sub folders. Any help would be  
> amazing. A
> link to somewhere showing how would be tops. Thanks.

For starters, will you know how many images there will be and what  
the names of the files will be?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20070712/bedcb3aa/smime.bin


More information about the UPHPU mailing list