Jump to content


Photo

I need help on validating email entries


  • Please log in to reply
No replies to this topic

#1 xux

xux
  • Members
  • PipPipPip
  • Advanced Member
  • 85 posts

Posted 28 August 2006 - 05:20 PM

Hi everybody,
                I want to check whether email entries are entered properly.pls my regex expresion  have been saying not valid even when i entered my email addy.The regex am using is"if(!eregi ('^[a-zA-Z0-9_\-\.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$',$email))
{
  echo'That is not a valid email address.';
  exit;
}
"
Please I need help.Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users