On Wed, 24 Jul 2002, Mike Mannakee wrote:
Here's the code I use to validate emails:
function check_email($email)
{
global $email;
$regex=^([a-z0-9_]|\\-|\\.)+(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}$;
return eregi($regex, $email, $trash);
}
Please search the archives on this topic; it's
Here's the code I use to validate emails:
function check_email($email)
{
global $email;
$regex=^([a-z0-9_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,4}$;
return eregi($regex, $email, $trash);
}
Hope this helps,
Mike
ØYstein HåLand [EMAIL PROTECTED] wrote in message
[EMAIL
2 matches
Mail list logo