list($usec,$sec)=explode(" ",microtime());
mt_srand($sec * $usec);
$quotes = file("quotes");
echo $quotes[mt_rand(0, (sizeof($quotes)-1))];

Should do the trick nicely.


-Evan


-- 
All religions are founded on the fear of the many and the cleverness of the 
few.

Stendhal


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to