srand thought
| From: | Gerard Samuel | Date: | Thu, 02 May 2002 19:37:48 +0000 |
| Subject: | srand thought | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95750@lists.php.net to get a copy of this message | ||
Quick question. Im using srand to seed array_rand in a script.
I read that srand should only be called once per script under the srand manual page.
Im using ADODB, and that also uses srand. Now should that warning be a literal warning or should that
be 'use srand once per page'??
Thanks