matfish Posted June 24, 2007 Share Posted June 24, 2007 How come: if(!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,6}$", $email)){ echo 'Incorrect'; } doesnt work? Tried with things like "name", "name@name.com" and it comes back as valid? Thanks Quote Link to comment Share on other sites More sharing options...
matfish Posted June 24, 2007 Author Share Posted June 24, 2007 sorry - being a dumbass - its sorted now Quote Link to comment 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.