Environment Variable |
Description |
AUTH_TYPE |
Specifies the authentication method used to validate
the user. This will only be set if the server is set to authenticate users. |
CONTENT_LENGTH |
The number of bytes in the message body of the HTTP
request. This is used by POST method request. |
CONTENT_TYPE |
The media type of the incoming data. |
GATEWAY_INTERFACE |
Specifies the protocol name and revision being used
by the server to communicate with the script. |
HTTP_ACCEPT |
Holds a comma delimited list of MIME types that the
client will accept |
HTTP_REFERER |
Specifies the address of the web page that posted
the request |
HTTP_USER_AGENT |
The name and version of the web browser used to make
the request. |
PATH_INFO |
Extra path information specified in the URL that
called the script |
PATH_TRANSLATED |
The server's real file system path to the script's
location. |
QUERY_STRING |
The URL-encoded data in a GET request |
REMOTE_ADDR |
Specifies the IP address of the client's machine. |
REMOTE_HOST |
Specifies the client's domain name. |
REMOTE_IDENT |
Specifies the client machine's username if available. |
REMOTE_USER |
Specifies the name used to authenticate the user
if the user was authenticated using server-based authentication |
REQUEST_METHOD |
Specifies if the request was GET or POST |
SCRIPT_NAME |
Specifies the virtual name of the script. (The directory
and filename) |
SERVER_NAME |
The server's domain name |
SERVER_PORT |
The port that the web server is running on |
SERVER_PROTOCOL |
The name and revision of the protocol the server
is using. |
SERVER_SOFTWARE |
The name and revision level of the web server |