View Single Post
Old 02-05-2008, 03:42 PM   · #4
jimmysanders
New Member
 
Trader Rating: (0)
Join Date: Feb 2008
Posts: 9
NP$: 0.00 (Donate)
jimmysanders is an unknown quantity at this point
i had to go for the smallest one

PHP Code:
function randomPassword($length = 8) {
    return    
substr(base64_encode(md5(time())), 0, $length);
}



creates random string of A–Z, a–z, and 0–9 of max of 42ish chars


Please register or log-in into NamePros to hide ads
jimmysanders is offline   Reply With Quote
Site Sponsors
free webhosting Domain Tasting http://www.mobisitetrader.com/
Advertise your business at NamePros
All times are GMT -7. The time now is 01:06 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.