filter_var_array: apply multiple filters to one field
| From: | Peter Lafferty | Date: | Fri, 02 Jul 2010 13:54:38 +0000 |
| Subject: | filter_var_array: apply multiple filters to one field | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-306633@lists.php.net to get a copy of this message | ||
Is there any way to apply multiple filters to one field using
filter_var_array?
Basically I have an email field which I want to sanitize and validate.
The docs and any sites I find only tell how to apply one filter at a
time using filter_var_array.
Regards,
Peter Lafferty
Software Developer
Web Reservations International Ltd.,
Block D, Charlemont Exchange
Charlemont Street
Dublin 2, Ireland
email: peter.lafferty@webresint.com
<mailto:peter.lafferty@webresint.com>
Tel: + 353 1 4980772
Fax: +353 1 4980715