Home > Backend Development > PHP Tutorial > PHP super global variable list

PHP super global variable list

巴扎黑
Release: 2023-03-01 09:36:02
Original
1154 people have browsed it

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


Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template