Hello,

On 10/16/2003 02:29 AM, John W. Holmes wrote:
Heh... I was adding a note to the PHP Manual and I thought it was really funny they had to include this note in the "rules":

(And if you're posting an example of validating email addresses, please don't bother. Your example is almost certainly wrong for some small subset of cases. See this information from O'Reilly Mastering Regular Expressions book for the gory details.)

lol...

The link is http://examples.oreilly.com/regex/readme.html in case anyone is interested...

What that means is that there are certain regular expressions that people use that discard valid addresses. I have been using these two classes that use a reasonably complex regular expression and despite it may not reject some addresses that may be invalid, at least they do not reject valid addresses as it was based on the understanding of the RFC.


http://www.phpclasses.org/emailvalidation

http://www.phpclasses.org/formsgeneration

--

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to