PHP Predefined Variables

by Ranganathan 2012-08-28 18:54:44



* Superglobals â Superglobals are built-in variables that are always available in all scopes

* $GLOBALS â References all variables available in global scope

* $_SERVER â Server and execution environment information

* $_GET â HTTP GET variables

* $_POST â HTTP POST variables

* $_FILES â HTTP File Upload variables

* $_REQUEST â HTTP Request variables

* $_SESSION â Session variables

* $_ENV â Environment variables

* $_COOKIE â HTTP Cookies

* $php_errormsg â The previous error message

* $HTTP_RAW_POST_DATA â Raw POST data

* $http_response_header â HTTP response headers

* $argc â The number of arguments passed to script

* $argv â Array of arguments passed to script
839
like
0
dislike
0
mail
flag

You must LOGIN to add comments