note 47660 deleted from function.ereg by sean
| From: | sean@php.net | Date: | Wed, 24 Nov 2004 14:18:30 +0000 |
| Subject: | note 47660 deleted from function.ereg by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80975@lists.php.net to get a copy of this message | ||
Note Submitter: dotjayeshatgmail.com
----
PHP function that check whether an email is vaild or no
function CheckEmail($Email = "") {
if (ereg("[[:alnum:]]+@[[:alnum:]]+\.[[:alnum:]]+", $Email)) {
return true;
} else {
return false;
}
}
----
Reason: You were told not to do this.