note 102667 added to filter.filters.validate
| From: | Dave at osu1 dot php dot net | Date: | Mon, 28 Feb 2011 04:15:48 +0000 |
| Subject: | note 102667 added to filter.filters.validate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-177383@lists.php.net to get a copy of this message | ||
as per Clifton's example code, i can confirm Tomas is correct if using PHP 5.3.1.
Both examples validate on 5.3.1, whereas on on 5.2.14 Clifton is correct and the example minus the
.com will not validate
// version of php using the latest Xampp on localhost
PHP Version: 5.3.1
clifton@example
string(15) "clifton@example"
PHP Version: 5.3.1
clifton@example.com
string(19) "clifton@example.com"
// online server
PHP Version: 5.2.14
bool(false)
PHP Version: 5.2.14
clifton@example.com
string(19) "clifton@example.com"
----
Server IP: 69.147.83.197
Probable Submitter: 82.42.177.106
----
Manual Page -- http://www.php.net/manual/en/filter.filters.validate.php
Edit -- https://master.php.net/note/edit/102667
Del: integrated -- https://master.php.net/note/delete/102667/integrated
Del: useless -- https://master.php.net/note/delete/102667/useless
Del: bad code -- https://master.php.net/note/delete/102667/bad+code
Del: spam -- https://master.php.net/note/delete/102667/spam
Del: non-english -- https://master.php.net/note/delete/102667/non-english
Del: in docs -- https://master.php.net/note/delete/102667/in+docs
Del: other reasons-- https://master.php.net/note/delete/102667
Reject -- https://master.php.net/note/reject/102667
Search -- https://master.php.net/manage/user-notes.php