Raj script
Tuesday, August 3, 2010
generate a random password
generate a random password, eg if you want to send it by email to a user:
Code:
$password = substr(preg_replace('/\W/', '', md5(rand())), 0, 8);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment