note 41249 added to function.uniqid
| From: | php-general at lists dot php dot net | Date: | Sun, 04 Apr 2004 05:54:22 +0000 |
| Subject: | note 41249 added to function.uniqid | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67607@lists.php.net to get a copy of this message | ||
I'd like to point out that, the value returned by functions uniqid() and rand() are depending
on the server's clock. It is possible that time will repeat when server clock is being sync.
That may lead to a production of repeated ID, even md5 is applied.
----
Manual Page -- http://www.php.net/manual/en/function.uniqid.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41249
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41249&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41249&report=yes
Search -- http://master.php.net/manage/user-notes.php