Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is Filter?How we use them?
In PHP, We use Filters to validate and filter data coming from insecure sources,like : user entered data.The main issue of introducing is that to make data filtering easier and quicker.
 Some filter function are given below:
1.filter_has_var � Checks if variable of specified type exists
2.filter_id � Returns the filter ID belonging to a named filter
3.filter_input_array � Gets external variables and optionally filters them
4.filter_input � Gets a specific external variable by name and optionally filters it
5.filter_list � Returns a list of all supported filters
6.filter_var_array � Gets multiple variables and optionally filters them
7.filter_var � Filters a variable with a specified filter

Posted By: Name:Rajesh Kr URL: What is Filter?How we use them?