note 80485 added to function.mt-rand
| From: | Anonymous at osu1 dot php dot net | Date: | Fri, 18 Jan 2008 13:59:02 +0000 |
| Subject: | note 80485 added to function.mt-rand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135194@lists.php.net to get a copy of this message | ||
On a punbb forum on windows where mt_rand(1, 2147483647) is called probably a couple of hundred
times an hour (for inserting into a search cache), we're getting the exact same value returned
_several_ times an hour.
I don't know what the root cause here is, if it's windows or whatever, but I suggest NOT
relying on this function for anything security related.
----
Server IP: 213.249.64.162
Probable Submitter: 86.87.68.167
----
Manual Page -- http://www.php.net/manual/en/function.mt-rand.php
Edit -- https://master.php.net/note/edit/80485
Del: integrated -- https://master.php.net/note/delete/80485/integrated
Del: useless -- https://master.php.net/note/delete/80485/useless
Del: bad code -- https://master.php.net/note/delete/80485/bad+code
Del: spam -- https://master.php.net/note/delete/80485/spam
Del: non-english -- https://master.php.net/note/delete/80485/non-english
Del: in docs -- https://master.php.net/note/delete/80485/in+docs
Del: other reasons-- https://master.php.net/note/delete/80485
Reject -- https://master.php.net/note/reject/80485
Search -- https://master.php.net/manage/user-notes.php