function is_email_valid($email) { if(eregi("^([_a-z0-9-]+)(\.[_a-z0-9-]+)@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $email)) return TRUE; else return FALSE; } ?>
No comments:
Post a Comment