note 73356 added to function.uniqid
| From: | mailrinke at _cutthis_yahoo dot com | Date: | Mon, 19 Feb 2007 13:06:44 +0000 |
| Subject: | note 73356 added to function.uniqid | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-123576@lists.php.net to get a copy of this message | ||
I have been using mimecs version lately and do not think it's safe to think the results are
always unqiue.
Although it could be just my bad programming, I found exactly 1 collission while debugging my code.
It seems to me that if my code was incorrect it would have happened more than once.
I recommend anyone to include time as a factor of such an ID as to be a little more certain it is in
fact unique.
----
Server IP: 83.137.20.120
Probable Submitter: 84.82.64.236
----
Manual Page -- http://www.php.net/manual/en/function.uniqid.php
Edit -- https://master.php.net/note/edit/73356
Del: integrated -- https://master.php.net/note/delete/73356/integrated
Del: useless -- https://master.php.net/note/delete/73356/useless
Del: bad code -- https://master.php.net/note/delete/73356/bad+code
Del: spam -- https://master.php.net/note/delete/73356/spam
Del: non-english -- https://master.php.net/note/delete/73356/non-english
Del: in docs -- https://master.php.net/note/delete/73356/in+docs
Del: other reasons-- https://master.php.net/note/delete/73356
Reject -- https://master.php.net/note/reject/73356
Search -- https://master.php.net/manage/user-notes.php