This is a simple script that will generate a random alphanumeric password with customizeable lenght.
[ad name=”In Post”]
Usage is as follows:
The example above will return a random password with 5 characters. If you want a random password with more characters replace the five with another number (the limit is 32, enforced by the md5() function). If you don’t set the password lenght, the function will return an 8 character password by default.