function fnValidateEmail($varEmail)
{
if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $varEmail))
return(true);
else
return(false);
}
Disclaimer: Any code or advice given is for instructional purposes only. We will not be responsible for any loss or damage caused by using this script
Subscribe to:
Post Comments (Atom)
1 comment:
Yes it is an important code and really useful. Security Solutions
Post a Comment