I was reading through the comments on the post and someone said for php 5.3 that you can't use
eregibut instead have to use
preg_match
Is this being used correctly:
//Check Email
if(!preg_match eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email)) { //Make sure email is in the format: me@hi.com
$errmsg[] = 'Invalid Email'; //Error
$errflag = true; //Set flag so it says theres an error
}
I'm really not quite sure
This post has been edited by EmiT FliX: 11 August 2012 - 04:58 AM

New Topic/Question
Reply



MultiQuote





|