Hi,
I would like to use unique ref numbers to generate keys as passwords for the users first login the page.
I've tried using md5(), but the hash string is 32-digits which is too long. and i also tried to use crypt(), with first 2 digits of ref number as seed, the result string is shorter but with special characters.
How can I generate a 8-12 digits long encrypted string without special characters??
Pls help and thanks in advance.
AC