PHP Superglobal Arrays : Variables « Language Basics « PHP






PHP Superglobal Arrays

 
Array         Description
 
$_COOKIE      Contains keys and values set as browser cookies
 
$_ENV         Contains keys and values set by the script's shell context
 
$_FILES       Contains information about uploaded files
 
$_GET         Contains keys and values submitted to the script using the HTTP get method
 
$_POST        Contains keys and values submitted to the script using the HTTP post method
 
$_REQUEST     A combined array containing values from the $_GET, $_POST, and $_COOKIES superglobal arrays
 
$_SERVER      Variables made available by the server
 
$GLOBALS      Contains all global variables associated with the current script
  
  








Related examples in the same category

1.PHP Variable Examples
2.PHP 5 variable functionality.
3.A properly set-up PHP variable
4.Automatic Type Conversion
5.Calculate the variable name for simpler variables and use that name to access the value of that variable.
6.Operating on variables
7.valid statements
8.Numbers
9.Numeric Data Types
10.Valid and invalid variable names