note 10490 added to checkdnsrr
| From: | emusick at garagedoor dot org | Date: | Sun, 07 Jan 2001 04:58:28 +0000 |
| Subject: | note 10490 added to checkdnsrr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9444@lists.php.net to get a copy of this message | ||
ssmith@personalcarehmo.com -
The correct regexp would be
eregi("^[0-9a-z_]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,3}$", $email,
$check)). After the first 0-9a-z, you forgot a _. Apparantly, you forgot that an email address can
begin with an underscore.
Erich Musick
http://www.php.net/manual/function.checkdnsrr.php