note 47571 deleted from function.count-chars by sean
| From: | sean@php.net | Date: | Sat, 20 Nov 2004 20:56:48 +0000 |
| Subject: | note 47571 deleted from function.count-chars by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80814@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Here is a faster code then the one from "info at martinpulido dot com"
<?php
$password = 'Hello';
if (strlen($password) < 6)
{
echo 'Your password must be at least 6 characters long';
}
?>
Regards,
*drenintell*
----
Reason: useless example