I need to create some kind of 10 digits serial number where I can generate
and check that it is valid. Sort of like a checksum..
"Jj Harrison" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> if u are looking for a simple random string try this php:
> echo md5(time());
> or md5() a random number your choice.
> md5() genetates a one way non-reversable hash. which could be kept in a
> here is an example of the md5 hash of my library card number:
> md5() is often used to store passwords and make them non-viewable.
> if you are just looking for a unique number an auto-increment coloumn in
> mysql or what ever should do it.
> JJ Harrison
> [EMAIL PROTECTED]
> "Rainydays Sunshine" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Any ideas how to generate a unique serial number that you can check that
> > it's valid..
> > Thanks...
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php