note 35848 added to function.eregi

From: Date: Tue, 16 Sep 2003 22:55:17 +0000
Subject: note 35848 added to function.eregi
Groups: php.notes 
Request: Send a blank email to php-notes+get-56591@lists.php.net to get a copy of this message
It should be noted that in the function validateEmail, the final verification relies on the mail server responding to the test $email with a reply code of 250. Nowadays, many/most/all servers will reply 250/Ok for any user@thier.domain regardless of whether or not the userid actually exists. mail servers tend to accept the mail (if it passes other checks), and if the user really does not exist, it just "bounces" the mail back to sender. thus the validateEmail function can give false positives...an unfortunate victim of having to deal with spam. ---- Manual Page -- http://www.php.net/manual/en/function.eregi.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35848 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35848&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35848&report=yes

« previous php.notes (#56591) next »