Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // in /skeptical/template-contact.php
- // on line 28
- // find
- } else if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}$", trim($_POST['email']))) {
- // replace with
- } else if (!preg_match("/^[A-Z0-9._%-]+@[A-Z0-9][A-Z0-9.-]{0,61}[A-Z0-9]\.[A-Z]{2,6}$/i", trim($_POST['email']))) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement