Re: randomly select file
| From: | ROBERT MCPEAK | Date: | Tue, 05 Nov 2002 13:40:48 +0000 |
| Subject: | Re: randomly select file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-122770@lists.php.net to get a copy of this message | ||
Thanks guys & gals, for clueing me in.
>>> "rija" <rija@vatu.com> 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" <RMCPEAK@jhuccp.org>
To: <php-general@lists.php.net>
Sent: Tuesday, November 05, 2002 8:40 AM
Subject: [PHP] randomly select file
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.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php