note 49240 added to function.microtime
| From: | Chris at osu1 dot php dot net | Date: | Fri, 21 Jan 2005 03:17:04 +0000 |
| Subject: | note 49240 added to function.microtime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-83708@lists.php.net to get a copy of this message | ||
Want to generate a unique default password for a user?
$password = md5(microtime());
That is much better than using a random number!
----
Manual Page -- http://www.php.net/manual/en/function.microtime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49240
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49240&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49240&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49240&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49240&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49240&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49240&report=yes
Search -- http://master.php.net/manage/user-notes.php