big help (md5(uniqid(rand())),0,16)
| From: | eric | Date: | Sat, 25 Nov 2000 09:20:44 +0000 |
| Subject: | big help (md5(uniqid(rand())),0,16) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27122@lists.php.net to get a copy of this message | ||
substr(md5(uniqid(rand())),0,16);
produces:
50c0bf7a39afbf10
4baf448652007398
314fde8a1a89e247
etc.
HOW CAN I MAKE IT SO THE ABOVE EXAMPLED STRINGS WOULD BE GUARANTEED TO
NEVER REPEAT?
OR SOMEONE TELL ME THAT THE CHANCE OF THAT HAPPENING IS... (way low)
got to be VERY unguessable though. (ie. all the letters have to change.
not just a randomzed function where just the last few chars change w/
the changing time stamp.)
you'd be helping me heaps. - eric dahnke