mike a écrit :
php should have a good check built-in. see http://www.php.net/manual/en/function.filter-var.php
Argh ! Howmany times it is in ? I spent so many time to write a regex that belongs the RFC822 :-/ Because all the regex in answer here was false. They don't allow email like "Mickael Doodoo"@lupusmic.com nor mickael+doudou@xxxxxxxxxxxx ; and they are valuable email addresses. Without the fact that a top level domain isn't always between two and three characters (think about .museum).
-- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php