RE: [PHP] email validation string.

From: Date: Fri, 19 Jan 2007 08:55:21 +0000
Subject: RE: [PHP] email validation string.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-247386@lists.php.net to get a copy of this message
Try this : http://www.weberdev.com/get_example-3274.html berber -----Original Message----- From: Don [mailto:don.rzeszut@gmail.com] Sent: Thursday, January 18, 2007 10:41 PM To: php-general@lists.php.net Subject: [PHP] email validation string. I'm trying to get this line to validate an email address from a form and it isn't working. if (ereg("^.+@.+\..+$",$submittedEmail)) The book I'm referencing has this line if (ereg("^.+@.+\\..+$",$submittedEmail)) Anyway.. I welcome any advice as long as it doesn't morph into a political debate on ADA standards and poverty in Africa. :-) Thanks Don

« previous php.general (#247386) next »