I honestly don't want someone to dictate which data is ok for my application and which is not. Simply give me a nice api, with default filter types and probably the possibility to register custom functions to filter data, so i can call the functions if i want to. Or let me register filter types for certain variables, something like:
<?php
register_filter('var1', FILTER_NUMBER); register_filter('var2', FILTER_EMAIL); register_filter('var3', 'my_customer_filter');
?>
Michael
Rasmus Lerdorf wrote:
For the 18th time, nobody is talking about enabling it by default.
-Rasmus
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php