PHP super global variable list

Source: Internet
Author: User
Tags php server
Name Function Description
$ _ Get [] Get the variable array submitted in the get Method
$ _ Post [] Get the variable array submitted in the post method
$ _ Cookie [] Obtain and set the cookie ID of the current website
$ _ Session [] Obtains the unique access ID of the current user, represented in arrays, such as sessionid and custom session data.
$ _ Env [] Current PHP environment variable array
$ _ Server [] Current PHP server variable array
$ _ FILES [] The parameter value submitted to the current script during file upload, which is represented in arrays.
$ _ 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.