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.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to