Check the format and usability of your passwords to improve your account security!
U just need to download the class file to your project!
And called with code:
include_once './checkPassword.class.php';
If you want to encrypt the password:
encryption ( $_POST['password'] );
Determine if a password is too simple:
if ( onlyNum ( $password ) ) $easy = true;
if ( onlyLowerCase ( $password ) ) $easy = true;
if ( onlyLowerCase ( $onlyUppercase ) ) $easy = true;
if ( onlyLowerCase ( $onlyLetter ) ) $easy = true;
if ( $easy == true ) exit ( 'YOUR PASSWORD IS TOO SIMPLE!' );
else // Code...