Below are revisions for this snippet.

Generate a random string





Syndication

Revision Revison 1
Creates a random string, usefull for passwords etc.

Use: $password = makeRandomPassword($Length);

If $Length is not specified (ie $password = makeRandomPassword();) then it will default to 8 characters