[UPHPU] Random images from multiple files

chuck sheya chucks at bookstore.usu.edu
Thu Jul 12 08:46:41 MDT 2007


There are 17 folders each with around 10 images named 1.jpg, 2.jpg, ect. so
that when I update the images they are in the correct order.
-chuck

On 7/12/07, Wade Preston Shearer <lists at wadeshearer.com> wrote:
>
> > 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?
>
>
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
>


More information about the UPHPU mailing list