Re: testing an email address
| From: | Alexander Skwar | Date: | Sun, 14 Oct 2001 07:22:29 +0000 |
| Subject: | Re: testing an email address | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71021@lists.php.net to get a copy of this message | ||
So sprach »~~~i LeoNid ~~« am 2001-10-13 um 16:46:36 +0000 :
>
> "([_0-9a-zÿâåðòûóèîïøùýúüþ¸àñäôã÷éêëìíáæöõç][_0-9a-zÿâåðòûóèîïøùýúüþ¸àñäôã÷éêëìíáæöõç-]+?\.)+[a-z]{2,3}";
You're at least missing the / character in the username part, and you do
not take account for .info domains. Also you don't allow usernames like
".me." (without the quotes). Basically, I'd allow EVERYTHING as the
username and would check if the domain exists, and that's it for the
check.
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 19 hours 36 minutes