note 47468 deleted from function.count-chars by tularis
| From: | tularis@php.net | Date: | Mon, 27 Dec 2004 19:57:51 +0000 |
| Subject: | note 47468 deleted from function.count-chars by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-82364@lists.php.net to get a copy of this message | ||
Note Submitter: info at martinpulido dot com
----
This script verifies that the variable password has 6 characters at least
<?
$password = 'Hello';
$num_char = count(count_chars($password,1));
if ($num_char != 6) echo 'Your password may be 6 characters at least';
?>