note 60265 added to function.microtime
| From: | :D at osu1 dot php dot net | Date: | Sun, 01 Jan 2006 04:58:13 +0000 |
| Subject: | note 60265 added to function.microtime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101064@lists.php.net to get a copy of this message | ||
In reply to logix dot Spam-me-not at hacker dot dk:
If you're really going to do this then you should only use the last 2 or 3 (excl. the
'00' at the end) digits from microtime(). And repeat it several times so that you get
several quadrillions of possibilities, then use a quick hash on all of them.
----
Manual Page -- http://www.php.net/manual/en/function.microtime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60265
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60265&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60265&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60265&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60265&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60265&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60265&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60265&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60265&report=yes
Search -- http://master.php.net/manage/user-notes.php