Re: Regex validation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



var_dump(imap_rfc822_parse_adrlist('"! # $ % &  * + - / = ? ^ _ ` { | } ~"', '')); 

This looks like a valid localhost email address to me...

What's wrong with it?
:-v

You may want to check that "host" is non-empty, if you do not expect any localhost users, and fail on that condition, however.


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux