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

Reply via email to