Re: Verify Email

From: Date: Wed, 20 Dec 2000 06:55:09 +0000
Subject: Re: Verify Email
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-31168@lists.php.net to get a copy of this message
if (eregi("^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,3}$",$ email)) { print "it's all good"; } else { print "it's all NOT good"; } ----- Original Message ----- From: <Website4S@aol.com> To: <php-general@lists.php.net> Sent: Tuesday, December 19, 2000 11:42 PM Subject: [PHP] Verify Email > Hi, > > I have a little form which has an email address field, I don`t suppose anyone > has an if statement which I can use to verify that a user has entered a > properly formatted email address? > > TIA > > Ade > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#31168) next »