Re: Unique Identifier String
| From: | @ Edwin | Date: | Mon, 11 Nov 2002 07:11:31 +0000 |
| Subject: | Re: Unique Identifier String | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123785@lists.php.net to get a copy of this message | ||
Hello,
"John W. Holmes" <holmes072000@charter.net> wrote:
> What if you create an array of all the letters and numbers, then shuffle
> that array, implode it into a string and grab the first 24 characters?
> It should be fairly random, but not guaranteed unique.
...but just grabbing the first 24 chars wouldn't really give you a
12-letter-12-digit random string, no? I believe he needs the that way...
- E