Hello,
"John W. Holmes" <[EMAIL PROTECTED]> 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
il.com]
> Sent: Sunday, November 10, 2002 6:22 AM
> To: Sebastian A.
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Unique Identifier String
>
> Hello,
>
> "Sebastian A." <[EMAIL PROTECTED]> wrote:
>
> > I am currently working on a mySQL site administ
And btw, you might want to check "User Contributed Notes" dated 04-Nov-2002
@
http://www.php.net/manual/en/function.rand.php
Perhaps you can just add some if...else and you can have the
12-random-digit-12-random-letter-string that you're looking for.
HTH,
- E
--
PHP General Mailing List (ht
Hello,
"Sebastian A." <[EMAIL PROTECTED]> wrote:
> I am currently working on a mySQL site administration system and I need
help
> on figuring out how I can create a 24 digit letter/number unique
identifier
> string. I know that I can easily get a random number using a PHP function
(I
> can rememb
I am currently working on a mySQL site administration system and I need help
on figuring out how I can create a 24 digit letter/number unique identifier
string. I know that I can easily get a random number using a PHP function (I
can remember it off the top of my head) but I also need to create ran
5 matches
Mail list logo