Re: Regex validation

From: Date: Wed, 29 Oct 2008 14:02:05 +0000
Subject: Re: Regex validation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-282581@lists.php.net to get a copy of this message
On Wed, Oct 29, 2008 at 5:36 AM, <ceo@l-i-e.com> wrote: > > When it comes to email validation, I would recommend using the IMAP function which will be both > fast and correct: > > > http://us.php.net/manual/en/function.imap-rfc822-parse-adrlist.php > > Otherwise, it's guaranteed that you are having at least some false positives, and probably > some false negatives. Didn't know about those IMAP functions. And they even work in PHP4. Thanks for telling.

« previous php.general (#282581) next »