Filter_input_array function definition and usage summary

Source: Internet
Author: User
& Amp; nbsp; define and use the filter_input_array () function to obtain multiple filters from external input scripts and filter them. This function is useful for filtering a large number of input variables without requiring filter_input (), many. This function can be input from several sources: INPUT_GETINPUT_POSTINPUT_COOKIEINPUT_ENVINPUT_SERVERINPUT_SESS... definition and usage the filter_input_array () function gets multiple filters from external input scripts and filters them. This function is useful for filtering a large number of input variables without requiring filter_input (), many. This function can be input from several sources: INPUT_GETINPUT_POSTINPUT_COOKIEINPUT_ENVINPUT_SERVERINPUT_SESSION (not implemented yet) INPUT_REQUEST (not implemented yet) to return an array of successfully filtered data, false failure. Syntax: filter_input (input_type, args) input_type: required. Specifies the Input type. See the list of possible types (args): Optional. Specifies the arguments for a series of filters. A series of effective keys are a variable name and a valid value is a filter ID or an array to specify the filter, flag

1. recommended articles for php filter_input_array () functions

Introduction: define and use the filter_input_array () function to obtain multiple filters from external input scripts and filter them. This function is useful for filtering a large number of input variables without requiring filter_input (), many. This function can be input from several sources: INPUT_GETINPUT_POSTINPUT_COOKIEINPUT_ENVINPUT_SERVERINPUT_SESSION (not implemented yet...

2. php filter_input_array illegal information filtering _ PHP Tutorial

Introduction: php filter_input_array filters illegal information. Define and use the filter_input_array () function to obtain multiple filters from external input scripts and filter them. This function is useful for filtering a large number of input variables without requiring filte

3. php study Notes-filter

Introduction: php learning notes -- filterfilter_var (): filter a single variable filter_var (variable, filter, options) using a specified filter: Required for variable, optional for filter, options specifies an array containing flag/option. Check possible flags and options for each filter

4. php filter_input_array filter illegal information

Introduction: php filter_input_array filters illegal information. Define and use the filter_input_array () function to obtain multiple filters from external input scripts and filter them. This function is useful for filtering a large number of input variables without requiring filte

[Related Q & A recommendations ]:

The above is a summary of the definition and usage of the filter_input_array function. For more information, see other related articles in the first PHP community!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.