note 16432 added to function.getmxrr

From: Date: Tue, 30 Oct 2001 10:55:57 +0000
Subject: note 16432 added to function.getmxrr
Groups: php.notes 
Request: Send a blank email to php-notes+get-19598@lists.php.net to get a copy of this message
In both regexp's an emailaddress like mb@ns.nl isn't accepted, though its a valid emailaddress. 1) eregi("^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,3}$", $email, $check) 2) eregi("^[0-9a-z_]([_\.-]?[0-9a-z])*@[0-9a-z][0-9a-z\.-]*\.[a-z]{2,4}\.?$", $address) Does anyone have a solution to this emailadres also being accepted as valid? -- http://www.php.net/manual/en/function.getmxrr.php http://master.php.net/manage/user-notes.php?action=edit+16432 http://master.php.net/manage/user-notes.php?action=delete+16432 http://master.php.net/manage/user-notes.php?action=reject+16432

« previous php.notes (#19598) next »