hi I need to randomnly generate a value with a mixture of words and letters.. Using rand() and mt_rand() I can generate only integer values..
how do I generate random alpha numeric values?
Raj
chr(rand())
or md5(microtime())
using chr I can convert only ascii values.. I need more... say abt 7 to 8 characters long...
$random = substr(md5(microtime()), 0, 8);
what about this?
should give you lower case letters and some numbers
that was a good idea mr.happiness. I got what I want. didn't strike me........