note 37561 deleted from function.substr-count by pollita
| From: | pollita@php.net | Date: | Thu, 20 Nov 2003 00:32:33 +0000 |
| Subject: | note 37561 deleted from function.substr-count by pollita | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60648@lists.php.net to get a copy of this message | ||
Note Submitter: asaf92
----
you can use this for an email verfication check:
<?php
/* function made by AsaF92 */
function email_verfication($email)
{
$check=substr_count($email,@)
if($check!=1)
{
return "no"
}
else
{
return "ok"
}
return "no" //this line will never happen
}
?>