Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(preg_match("^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", $_POST['email']))
- {
- echo "ok!";
- }
- else
- {
- echo "fail!";
- }
Add Comment
Please, Sign In to add comment