Variable Name |
Description |
AUTH_TYPE |
The authorization scheme used by the server to authenticate
the client session |
CONTENT_LENGTH |
The length of the request data provided by the client |
CONTENT_TYPE |
The MIME type that identifies the type of content provided by
the client |
DOCUMENT_ROOT |
The full path to the local document root directory on the
server |
GATEWAY_INTERFACE |
The version of the Common Gateway Interface that is being used
by the server |
PATH_INFO |
The resource or sub-resource that is to be returned by the
program or script |
PATH_TRANSLATED |
The path information mapped to the server root document
directory structure |
QUERY_STRING |
The URL encoded query parameters passed to the program or
script |
REMOTE_ADDR |
The network address of the client sending the request to the
server |
REMOTE_HOST |
The same value as the REMOTE_ADDR variable |
REMOTE_USER |
The username specified as part of the authentication
credentials provided by the client |
REQUEST_METHOD |
The method used by the client to request the resource |
REQUEST_URI |
The URI for the script provided by the client |
SCRIPT_FILENAME |
The full path to the program or script on the server |
SCRIPT_NAME |
The path to the program or script specified by the client |
SERVER_NAME |
The hostname or IP address of the server that the client
connected to |
SERVER_PORT |
The port number that the client used to connect to the server |
SERVER_PORT_SECURE |
This variable has a value of "1" if the client connection to
the server is secure |
SERVER_PROTOCOL |
The version of the server protocol used |
SERVER_SOFTWARE |
The server identity string which specifies the application
name and version |