note 102636 added to function.srand
[email protected] Fri, 25 Feb 2011 05:22:33 -0800
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Keep in mind that the Suhosin patch which is installed by default on many PHP-installs such as Debian and DirectAdmin completely disables the srand and mt_srand functions for encryption security reasons. To generate reproducible random numbers from a fixed seed on a Suhosin-hardened server you will need to include your own pseudorandom generator code. ---- Server IP: 69.147.83.197 Probable Submitter: 213.154.236.226 ---- Manual Page -- http://www.php.net/manual/en/function.srand.php Edit -- https://master.php.net/note/edit/102636 Del: integrated -- https://master.php.net/note/delete/102636/integrated Del: useless -- https://master.php.net/note/delete/102636/useless Del: bad code -- https://master.php.net/note/delete/102636/bad+code Del: spam -- https://master.php.net/note/delete/102636/spam Del: non-english -- https://master.php.net/note/delete/102636/non-english Del: in docs -- https://master.php.net/note/delete/102636/in+docs Del: other reasons-- https://master.php.net/note/delete/102636 Reject -- https://master.php.net/note/reject/102636 Search -- https://master.php.net/manage/user-notes.php