> 2) Sure enough, you don't allow "+" extensions in yours.  
> Neener neener :-)

Is +  a legal character in emails?

> 3) You might check out preg_match, which the manual says is 
> often faster than ereg().

Will look into it. Thanks for the tip.

> 4) To include '-' in a range list, put it last in the range.

So then it would look like this:
(!eregi('[EMAIL PROTECTED]', $email)
Is that right?

> 1. Special characters within brackets do not need to be escaped. [.] 
> will match a period.

So then I could make it:
(!eregi('[EMAIL PROTECTED]', $email)
Correct?

> 3. I don't think a hyphen is even legal in an email address...

If it wasn't, the user couldn't have emailed me to tell me that he
wasn't having success in registering on my form. Or could he?

-- 
Cheers!
Dave G
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to