Summary of filter_input_array function definition and usage

巴扎黑
Release: 2023-03-08 19:06:01
Original
1995 people have browsed it

Definition and usage The filter_input_array() function gets multiple filters from external input scripts and filters them. This feature is useful for filtering large input variables without requiring filter_input(), and more. This function can input several sources: INPUT_GET INPUT_POST INPUT_COOKIE INPUT_ENV INPUT_SERVER INPUT_SESSION (not yet implemented) INPUT_REQUEST (not implemented yet) Returns an array of filtered data on success, false on failure. grammar filter_input(input_type, args) input_type:requirement. Specify the input type. See list of possible types above args: Optional. Arguments that specify a series of filters. A valid sequence of keys is a variable name and a valid value is a filter ID or an array specifying the filter, flag

1. Recommended articles about the PHP filter_input_array() function

Summary of filter_input_array function definition and usage

Introduction: Definition and Usage The filter_input_array() function gets multiple filters input from an external script and filter them. This feature is useful for filtering large input variables without requiring filter_input(), and more. This function can input several sources: INPUT_GETINPUT_POSTINPUT_COOKIEINPUT_ENVINPUT_SERVERINPUT_SESSION (not yet implemented) INP...

2. php filter_input_array Filter illegal information_PHP tutorial

Introduction: php filter_input_array filters illegal information. Definition and Usage The filter_input_array() function gets multiple filters from external input scripts and filters them. This feature is useful for filtering large amounts of input variables without requiring filter

3. php study notes-filter

Introduction: PHP study notes--filterfilter_var(): Filter a single variable through a specified filter filter_var(variable, filter, options): variable is required, filter is optional, and options specifies an array containing flags/options. Check the possible flags and options for each filter

4. php filter_input_array Filter illegal information

Introduction: php filter_input_array filters illegal information. Definition and Usage The filter_input_array() function gets multiple filters from external input scripts and filters them. This feature is useful for filtering large amounts of input variables without requiring filter

[Related Q&A recommendations]:

The above is the detailed content of Summary of filter_input_array function definition and usage. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!