/ Published in: PHP
Sometimes you need to generate passwords for customers automatically when a new account is created. This code allows you choose the desired length and strength for the password and it is very flexible.
URL: http://www.apphp.com/index.php?snippet=php-generate-a-password