?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help
RFP Direct

?
?Re: How to verify the format of an email address?
Author:??(---.ym.rnc.net.cable.rogers.com)
Date:???08-24-04 15:54

if (eregi("^[a-z0-9\-\.]+\.[a-zA-Z]{2,4}(:[a-z0-9]*)?/?([a-z0-9\-\._\?\,\'/\\\+&%\$#\=~])*$",$_POST['web'])){
$user_web= $_POST['web'];
echo "web=$user_web";
}else{
$err_msg="web addess invalid";
}

is one way...google email validators for more examples there are thousands

?Topics Author? Date
?How to verify the format of an email address???new
Mastermind 08-24-04 11:37?
?Re: How to verify the format of an email address???new
bastien 08-24-04 15:54?
?Re: How to verify the format of an email address???new
Mastermind 08-24-04 17:03?
?Re: How to verify the format of an email address???new
Mastermind 08-25-04 09:16?
?Re: How to verify the format of an email address???new
bastien 08-26-04 06:23?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??wrote: > > if > (eregi("^[a-z0-9\-\.]+\.[a-zA-Z]{2,4}(:[a-z0-9]*)?/?([a-z0-9\-\._\?\,\'/\\\+&%\$#\=~])*$",$_POST['web'])){ > $user_web= $_POST['web']; > echo "web=$user_web"; > }else{ > $err_msg="web addess invalid"; > } > > is one way...google email validators for more examples there > are thousands ">??

Provided By
Phorum