|
Key
|
Description
|
|
PHP_SELF
|
Filename of the page, relative to the document root.
|
|
GATEWAY_INTERFACE
|
CGI specification.
|
|
SERVER_NAME
|
Name of the server.
|
|
SERVER_SOFTWARE
|
Name of the server software.
|
|
SERVER_PROTOCOL
|
HTTP server protocol.
|
|
REQUEST_METHOD
|
Request method for the page, such as 'GET', 'HEAD',
'POST', 'PUT'.
|
|
QUERY_STRING
|
Query string for the page (if any).
|
|
DOCUMENT_ROOT
|
Document root
|
|
HTTP_ACCEPT
|
Contents of the Accept/
|
|
HTTP_ACCEPT_CHARSET
|
Contents of the Accept-Charset: header
|
|
HTTP_ACCEPT_ENCODING
|
Contents of the Accept-Encoding: header from
the current request, if there is one.
|
|
HTTP_ACCEPT_LANGUAGE
|
Contents of the Accept-Language: header from the current request, if there is one.
|
|
HTTP_CONNECTION
|
Contents of the Connection: header from the
current request, if there is one.
|
|
HTTP_HOST
|
Contents of the Host: header from the current
request, if there is one.
|
|
HTTP_REFERER
|
The address of the page (if any) which referred the
user agent to the current page.
|
|
HTTP_USER_AGENT
|
Displays the contents of the user agent. It can be
used to determine the browser type.
|
|
REMOTE_ADDR
|
Define the IP address of the remote host.
|
|
REMOTE_PORT
|
Defines the TCP port of the remote host.
|
|
SCRIPT_FILENAME
|
Absolute pathname of the currently executing script.
|
|
SERVER_ADMIN
|
Location of the web server configuration file.
|
|
SERVER_PORT
|
Server port (normally port 80).
|
|
SERVER_SIGNATURE
|
String containing the server version.
|
|
PATH_TRANSLATED
|
Filesystem for the current script.
|
|
SCRIPT_NAME
|
Contains the current script's path.
|
|
REQUEST_URI
|
URI for the script.
|