note 68917 added to function.preg-match
| From: | Michal at osu1 dot php dot net | Date: | Tue, 15 Aug 2006 22:34:10 +0000 |
| Subject: | note 68917 added to function.preg-match | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115956@lists.php.net to get a copy of this message | ||
I think that it is not ablolutely clear. RFC 3696 allows \@ or "@" in the local part of
address, so test <?php explode('@', $email, 3 ) == 2 ?> is not RFC3696 clear ! It
can make mistakes in valid addresses like those:
"Abc@def"@example.com or
Abc\@def@example.com
----
Server IP: 212.24.129.110
Probable Submitter: 89.102.58.133
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.preg-match.php
Edit -- https://master.php.net/note/edit/68917
Del: integrated -- https://master.php.net/note/delete/68917/integrated
Del: useless -- https://master.php.net/note/delete/68917/useless
Del: bad code -- https://master.php.net/note/delete/68917/bad+code
Del: spam -- https://master.php.net/note/delete/68917/spam
Del: non-english -- https://master.php.net/note/delete/68917/non-english
Del: in docs -- https://master.php.net/note/delete/68917/in+docs
Del: other reasons-- https://master.php.net/note/delete/68917
Reject -- https://master.php.net/note/reject/68917
Search -- https://master.php.net/manage/user-notes.php