[PHP] counting files, choosing at random

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
I want to choose a file at random from a directory which adheres to certain naming scheme. I can't get it to work. It's probably something simple...Here is a relevant snippet: (the files are all called i??.gif and located in a directory /images/, which is a subdirectory of

Re: [PHP] counting files, choosing at random

2003-08-14 Thread David Otton
On Wed, 13 Aug 2003 10:54:58 +0200, you wrote: > > I want to choose a file at random from a > directory which adheres to certain naming scheme. > I can't get it to work. It's probably something > simple...Here is a relevant snippet: > >http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] counting files, choosing at random

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
David Otton wrote: > On Wed, 13 Aug 2003 10:54:58 +0200, you wrote: > > > > > I want to choose a file at random from a > > directory which adheres to certain naming scheme. > > I can't get it to work. It's probably something > > simple...Here is a relevant snippet: > > > >news:pl.soc.seks.