hi
is there a function to check an email?
I want function to check the email befor add in to database in mail list from example.
for exampl this code :
////////////////////////////
if (!eregi("0-9a-z@0-9a-z\.[a-z]{2,3}$",$email)) {
echo 'the email is incorect';
}
/////////////////////////////
but there is a problem in this code , some correct email make it incorrect!!
e.g :
man_@hotmail.com
man1@hotmail.com
and other
please if any one know this fuction mail me in mansor@ogertel.com