how to select a file on a random basis?

From: Date: Mon, 20 May 2002 06:40:47 +0000
Subject: how to select a file on a random basis?
Groups: php.general 
Request: Send a blank email to php-general+get-98432@lists.php.net to get a copy of this message
Hi there, 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 ? Thanx for any hint, Andy

« previous php.general (#98432) next »