note 40115 deleted from function.srand by nlopess

From: Date: Sun, 22 Feb 2004 10:36:36 +0000
Subject: note 40115 deleted from function.srand by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-65531@lists.php.net to get a copy of this message
Note Submitter: hurrajag@hotmail.com ---- I strongly suggest that you use the time() function to do this; <?php srand(time()); echo rand(); ?> This is to be used since time() is always changing and is never the same twice.

« previous php.notes (#65531) next »