07-24-2009, 07:49 AM
|
#7 (permalink)
|
|
The Acquainted
Join Date: May 2009
Location: Durham, UK
Posts: 134
Thanks: 9
|
The way I've done this in the past was:
PHP Code:
$pin = md5(rand());
And then cut the $pin value down to the first 'x' amount of characters.
|
|
|