note 14665 added to function.uniqid.php
| From: | sultanzahir at yahoo dot com | Date: | Wed, 08 Aug 2001 15:18:21 +0000 |
| Subject: | note 14665 added to function.uniqid.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16479@lists.php.net to get a copy of this message | ||
using
$ID = uniqid("userID", lcg);
will generate a 23 character long random number which will be not be easy to be duplicate if one
have a database of less than 3000 records.
http://www.php.net/manual/en/function.uniqid.php