Home > Article > Backend Development > PHP super global variable list
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 cookie identifier of the current website
$_SESSION [] Obtain the unique identification of the current user access, in the form of an array, 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 when uploading files, expressed in the form of an array
$_REQUEST[] Contains all requests submitted by the current script, including all actions of $_GET, $_POST, $_COOKIE, $_SESSION
$GLOBALS [] This super variable array contains references to all super global variables in the executing script