note 107679 added to filter.filters.validate

From: Date: Sat, 25 Feb 2012 19:16:45 +0000
Subject: note 107679 added to filter.filters.validate
Groups: php.notes 
Request: Send a blank email to php-notes+get-186362@lists.php.net to get a copy of this message
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" ---- Server IP: 69.147.83.197 Probable Submitter: 99.18.229.208 ---- Manual Page -- http://www.php.net/manual/en/filter.filters.validate.php Edit -- https://master.php.net/note/edit/107679 Del: integrated -- https://master.php.net/note/delete/107679/integrated Del: useless -- https://master.php.net/note/delete/107679/useless Del: bad code -- https://master.php.net/note/delete/107679/bad+code Del: spam -- https://master.php.net/note/delete/107679/spam Del: non-english -- https://master.php.net/note/delete/107679/non-english Del: in docs -- https://master.php.net/note/delete/107679/in+docs Del: other reasons-- https://master.php.net/note/delete/107679 Reject -- https://master.php.net/note/reject/107679 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#186362) next »