note 20502 added to ref.crack
| From: | clay at killersoft dot com | Date: | Fri, 05 Apr 2002 15:01:36 +0000 |
| Subject: | note 20502 added to ref.crack | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28667@lists.php.net to get a copy of this message | ||
If you set a "crack.default_dictionary" value in your php.ini file, you don't need to
call the "crack_opendict" and "crack_closedict" functions.
Example php.ini entry:
[Crack]
crack.default_dictionary = "/usr/local/lib/pw_dict"
Enables this:
<?php
// Perform password check
$check = crack_check('Twawt-Alv2');
// Retrieve messages
$diag = crack_getlastmessage();
echo $diag; // 'strong password'
?>
----------------------
Check out validateEmail.php 2.0
http://www.killersoft.com/contrib/
--
http://www.php.net/manual/en/ref.crack.php
http://master.php.net/manage/user-notes.php?action=edit+20502
http://master.php.net/manage/user-notes.php?action=delete+20502
http://master.php.net/manage/user-notes.php?action=reject+20502