11232_1127502322347_1670876517_265475_2130746_n

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.

Leave a Reply

Your email address will not be published. Required fields are marked *