I need a 'good password' validation routine.
| From: | Daevid Vincent | Date: | Thu, 10 Apr 2003 22:44:50 +0000 |
| Subject: | I need a 'good password' validation routine. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-143405@lists.php.net to get a copy of this message | ||
I'm looking for a simple function or so that will tell a user if they have a
"safer" password. Ideally it would check that they used letters & numbers,
upper/lower case, and mebbe at least one punctuation character. This can be
in JavaScript too if you don't have a PHP version. In fact JS is almost
preferred since that's how I validate a lot of the other fields. Either way.
I just want to avoid passwords like "pass1" and "secret" and
"daevid"...