PHP (ix) predefined array of PHP

Source: Internet
Author: User
Tags array arrays execution file upload http post variables variable
Predefined arrays: Automatic global variables---Super global array 1. Contains data from a Web server, client, environment, and user Input 2. These arrays are particularly 3. The global scope automatically takes effect, and you can use these array 4 directly. Users cannot customize these arrays 5. Variables that can be submitted to the script directly using these array $_get//via URL requests $_post//variables submitted via HTTP POST method $_request//via Get,post and cookie mechanism submitted to script Variable, so the array is not worth our trust and use, try not to use $_files//upload via HTTP Post file to script, file upload $_cookie//Session control $_session//session Control $_en V//Execution Environment submitted to the script $GLOBALS////As long as the current script valid variables are all here, the name $_server//variable of the array key named global variable has either been set by the Web server or directly associated with the current script execution environment

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.