RES: [PHP] email address syntax checker

2011-01-21 Thread Alejandro Michelin Salomon
Donovan: Try this function EmailCheck ( $sEmail ) { $regexp=/^[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+\\.[a-z ]{2,}$/i; if ( !preg_match($regexp, $sEmail) ) return false; return true; } Alejandro M.S. -Mensagem original- De: Donovan Brooke

Re: RES: [PHP] email address syntax checker

2011-01-21 Thread a...@ashleysheridan.co.uk
in that! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Alejandro Michelin Salomon amichel...@hotmail.com Date: Fri, Jan 21, 2011 12:14 Subject: RES: [PHP] email address syntax checker To: 'Donovan Brooke' li...@euca.us Cc: php-general@lists.php.net Donovan: Try this function

Re: RES: [PHP] email address syntax checker

2011-01-21 Thread Richard Quadling
they will require being inside quotation marks), and the @ symbol is included in that! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Alejandro Michelin Salomon amichel...@hotmail.com Date: Fri, Jan 21, 2011 12:14 Subject: RES: [PHP] email address syntax checker