note 13070 deleted from function.mail by jimw

From: Date: Wed, 31 Oct 2001 23:24:06 +0000
Subject: note 13070 deleted from function.mail by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19914@lists.php.net to get a copy of this message
All the email checkers that i've seen posted did not work for me so i wrote my own. Here is the emailk checker: function checkmail ($email) { if (eregi("^([a-z0-9]+|[a-z0-9][-_]*[a-z0-9]+)+@([a-z0-9]+\.|[a-z0-9]+[\-\_]*[a-z0-9]+\.)+([a-z][a-z]|com|net|edu|org|gov|mil)$",$email)) { return true; } return false; }

« previous php.notes (#19914) next »