function is_Email($em)
{
if (preg_match("/^(\w+((-\w+)|(\w.\w+))*)\@(\w+((\.|-)\w+)*\.\w+$)/",$em))
return true;
else return false;
}
{
if (preg_match("/^(\w+((-\w+)|(\w.\w+))*)\@(\w+((\.|-)\w+)*\.\w+$)/",$em))
return true;
else return false;
}
________________________________________________________________________________________
No comments:
Post a Comment