Like this?
function checkmail ($email)
{
if
(eregi("^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z][a-z][a-z]?$",
$email, $check))
{
if (checkdnsrr(substr(strstr($check[0], '@'), 1), "ANY"))
{
return TRUE;
}
}
return FALSE;
}
On Wednesday 24 October 2001 03:24 am, R
ent: Wednesday, October 24, 2001 10:24 AM
Subject: [PHP] Check mail user
> Hi,
> can someone give me script for syntax check of username for mail server ?
>
> Thanks,
> Rosen
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMA
Hi,
can someone give me script for syntax check of username for mail server ?
Thanks,
Rosen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECT
3 matches
Mail list logo