note 107679 deleted from filter.filters.validate by danbrown
| From: | danbrown@php.net | Date: | Mon, 27 Feb 2012 15:51:58 +0000 |
| Subject: | note 107679 deleted from filter.filters.validate by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-186390@lists.php.net to get a copy of this message | ||
Note Submitter: b k 2 at m e dot com
----
Web sites have to validate names and addresses many times, but there is no flag to strip or validate
for names?
It would allow alpha, numerals, space "." and "-",
and disallow other characters.
Similar to the number validations.
This rule works for person and place names,
addresses, city state and country names.
"Dr. hy-phen"
"1634 somewhere st."
etc. pass
"Mr + doesn't / pass"