ent #: 04475739
:::
- Original Message -
From: "Craig Vincent" <[EMAIL PROTECTED]>
To: "Andy" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 6:18 PM
Subject: RE: [PHP] how to select a file on a random basis?
> > I would like to pick a file
> I would like to pick a file out of a directory by random. There are 400
> files and I just want to pick on of those by random.
>
> Is there a way with rand() and file ?
Well there's a couple ways you could do this...it's too early in the morning
to post code but with some quick searches in the
2 matches
Mail list logo