Re: [PHP] randomly select file

2002-11-05 Thread ROBERT MCPEAK
Thanks guys & gals, for clueing me in. >>> "rija" <[EMAIL PROTECTED]> 11/04/02 05:31PM >>> Why don't you cope with opendir / readdir () and array_rand () I tried it and I look ok- But, I wonder if there are noble another way to do it? - Original Message - From: "ROBERT MCPEAK" <[EMAIL P

Re: [PHP] randomly select file

2002-11-04 Thread rija
Why don't you cope with opendir / readdir () and array_rand () I tried it and I look ok- But, I wonder if there are noble another way to do it? - Original Message - From: "ROBERT MCPEAK" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 05, 2002 8:40 AM Subject: [PHP] r

Re: [PHP] randomly select file

2002-11-04 Thread John Nichel
Dump the files in the directory into an array, then randomly select on from that. ROBERT MCPEAK wrote: Could someone suggest some php for randomly selecting a file from a directory and then displaying the contents of the file? Thanks in advance! -- PHP General Mailing List (http://www.php.