Variable Name | |
AUTH_TYPE | The protocol specific authentication method used to validate the user. It is set when the server supports user authentication. |
CONTENT_LENGTH | The length of the content as given by the client. |
CONTENT_TYPE | The content type of the data for queries that have attached information (for example, as HTTP POST and PUT). |
GATEWAY_INTERFACE | The CGI Specification revision of the server. Format : CGI/revision. |
PATH_INFO | Path information, as given by the user request. |
PATH-TRANSLATED | Path translated version of PATH_INFO, with the path including any virtual-to-physical mapping to it. |
QUERY_STRING | The information following the ? in the URL when referencing the script (using GET). |
REMOTE_ADDR | The IP address of the remote (user's) host making the request. |
REMOTE_HOST | The name of the host making the request (user host). |
REMOTE_IDENT | This variable is set to the remote user name as retrieved from the server (if the HTTP server supports RFC 931 identification). |
REMOTE_USER | This is set to the username if the HTTP server supports RFC 931 identification and the script is protected. |
REQUEST_METHOD | The method by which the request was made (for example, GET, HEAD, POST, and so on). |
SCRIPT_NAME | A pathname of the script to execute. |
SERVER_NAME | The server's hostname, DNS alias, or IP address as it would appear in self-referencing URLs. |
SERVER_PORT | The port number where the request was sent. |
SERVER_PROTOCOL | The name/revision of the information protocol. |
SERVER_SOFTWARE | The name/version of the information server software the answered the request. |