Re: Re: svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/filter/logical_filters.c branches/PHP_5_3/NEWS
branches/PHP_5_3/ext/filter/logical_filters.c trunk/ext/filter/logical_filters.c

From: Date: Fri, 02 Apr 2010 22:08:33 +0000
Subject: Re: Re: svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/filter/logical_filters.c branches/PHP_5_3/NEWS
branches/PHP_5_3/ext/filter/logical_filters.c trunk/ext/filter/logical_filters.c
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-47754@lists.php.net to get a copy of this message
Why not define multiple filters? I did that solution with more than one framework. There are cases when you need to validate the email of your remote users (eg. you want to restrict joe@localhost), and there are some cases, when you want to go all the way: validate the email by format, check the domain for existance, check the MX, and there are cases when you have to handle local addresses as well, but provide some minimal validation for typos. Tyrael

« previous php.internals (#47754) next »