Re: [PHP] Unique Identifier String

2002-11-10 Thread @ Edwin
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

RE: [PHP] Unique Identifier String

2002-11-10 Thread John W. Holmes
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

Re: [PHP] Unique Identifier String

2002-11-10 Thread @ Edwin
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

Re: [PHP] Unique Identifier String

2002-11-10 Thread @ Edwin
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

[PHP] Unique Identifier String

2002-11-10 Thread Sebastian A.
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