PHP Super global variable list

Source: Internet
Author: User
Name function description $ _ GET [] GET the variable array submitted by the GET method $ _ POST [] GET the variable array submitted by the POST method $ _ COOKIE [] GET and set the current website cookie identifier $ _ SESSION [] to obtain the unique identifier of the current user's access, represented in arrays, such as SESSIONID and Custom SESSION Data $ _ ENV [] name

$ _ GET [] GET the variable array submitted in the GET method

$ _ POST [] get the variable array submitted in the POST method

$ _ COOKIE [] get and set the cookie ID of the current website

$ _ SESSION [] gets the unique identifier of the current user's access, represented in arrays, such as SESSIONID and custom SESSION data.

$ _ ENV [] Current PHP environment variable array

$ _ SERVER [] Current php server variable array

$ _ FILES [] parameter values submitted to the current script during file upload, in array format

$ _ REQUEST [] contains all the requests submitted by the current script, including $ _ GET, $ _ POST, $ _ COOKIE, and $ _ SESSION.

$ GLOBALS [] this super variable array contains references to all Super global variables in the script being executed

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.