There's a code section at zend.com. I noticed someone
wrote an email check routine that checks for all
domains and the correct format. You might try there.
rm
--- "W.D." <[EMAIL PROTECTED]> wrote:
> I'm testing email address, but want to test not only
> characters but the @
> sign and for .com, .net, .org, or .tv. How would I
> include all of these?
>
> $test = $email
> if( ereg("[a-zA-Z0-9]+)\@([a-zA-Z0-9]+)\.com
> how would I include the
> rest?
>
>
>
_________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at
> http://mail.yahoo.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]