Thursday, 5 September 2013

block special characters with ereg

block special characters with ereg

elseif (!ereg("^.+@.+\\..+$", $email)) {
$msg="• Invalid email: that is not a valid e-mail address."; $email="";
}
thats the part of the code im trying to edit it so they cant use ' and =
in there email

No comments:

Post a Comment