this snippet is to create random passwords with a chosen length and a specified number of numbers. Uses both lower case and capital letters, which are chosen at random. And example is: wep5Q268LtTe.
How to use.
Using this is very easy just add to the appropriate page and call the procedure like passGen(10,6) for a password 10 characters long with 6 numbers like in the example: w7p5Q268L or passGen(5,2) for password 5 characters long with 2 numbers like: X5fD8.