Re: eregi(mail)
| From: | Steve Buehler | Date: | Fri, 10 May 2002 18:48:47 +0000 |
| Subject: | Re: eregi(mail) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96987@lists.php.net to get a copy of this message | ||
To tell you the truth, I can't read it.
Steve
At 01:32 PM 5/10/2002, Miguel Cruz wrote:
On Fri, 10 May 2002, Steve Buehler wrote:
if(ereg('^[-!#$%&\'*+\\./0-9=?A-Z^_a-z{|}~]+'.'@'.'[-!#$%&\'*+\\/0-9=?A-Z^_a-z{|}~]+\.'.'[-!#$%&\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
If I'm reading it correctly, this will let invalid addresses through. The
domain component (after the @ sign) can only contain a-zA-Z0-9\.\-
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php