note 15071 deleted from function.preg-match by jimw
| From: | jimw@php.net | Date: | Mon, 17 Dec 2001 23:20:28 +0000 |
| Subject: | note 15071 deleted from function.preg-match by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23072@lists.php.net to get a copy of this message | ||
Isn't alphanumerics easier to check with the following?
if (!preg_match("/^\w+$/",$pass)) { echo "error"; }