PHP Filter for santizing and validating user input.

A PHP filter is used to validate and filter data coming from insecure sources.By using filters you can be sure your application gets the correct input type.

*  filter_var() – Filters a single variable with a specified filter

* filter_var_array() – Filter several variables with the same or different filters

* filter_input – Get one input variable and filter it

* filter_input_array – Get several input variables and filter them with the same or different filters

These filter useful for  Validating filters(used to validate user input) and  Sanitizing filters(used to allow or disallow specified characters in a string)

http://www.w3schools.com/php/php_filter.asp

http://www.php.net/manual/en/ref.filter.php

Remove all fashion functions to santize and validate user input.

About the Author