jasonc Posted May 11, 2006 Share Posted May 11, 2006 the following does not seem to work correctly!!it allows an address likeadmin@site.co..ukandadmin@site..co..uk!eregi("^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,4}$", $email)can someone please tell me how is this corrected?thanks Quote Link to comment https://forums.phpfreaks.com/topic/9533-validating-email-not-correct/ Share on other sites More sharing options...
.josh Posted May 11, 2006 Share Posted May 11, 2006 [a href=\"http://us3.php.net/manual/en/function.eregi.php#52458\" target=\"_blank\"]http://us3.php.net/manual/en/function.eregi.php#52458[/a] Quote Link to comment https://forums.phpfreaks.com/topic/9533-validating-email-not-correct/#findComment-35211 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.