<%@ LANGUAGE = PerlScript%> Shows The values of predetermined environment variables.
ActiveState PerlScript

The values of predetermined environment variables.



VariableDescriptionValue
ALL_HTTP As per ISAPI, all HTTP headers that were not already parsed into one of the above variables. These variables are of the form HTTP_
.
<%= $Request->ServerVariables('ALL_HTTP')->item %>
AUTH_TYPE If the server supports user authentication, and the script is protected, this is the protocol-specific authentication method used to validate the user.<%= $Request->ServerVariables('AUTH_TYPE')->item %>
CONTENT_LENGTH The length of the said content as given by the client. <%= $Request->ServerVariables('CONTENT_LENGTH')->item %>
CONTENT_TYPE For queries which have attached information, such as HTTP POST and PUT, this is the content type of the data. <%= $Request->ServerVariables('CONTENT_TYPE')->item %>
GATEWAY_INTERFACE The revision of the CGI specification to which this server complies. Format: CGI/revision<%= $Request->ServerVariables('GATEWAY_INTERFACE')->item %>
PATH_INFO The extra path information, as given by the client. In other words, scripts can be accessed by their virtual pathname, followed by extra information at the end of this path. The extra information is sent as PATH_INFO. This information is decoded by the server if it comes from a URL before it is passed to the CGI script.<%= $Request->ServerVariables('PATH_INFO')->item %>
PATH_TRANSLATED The server provides a translated version of PATH_INFO, which takes the path and does any virtual-to-physical mapping to it.<%= $Request->ServerVariables('PATH_TRANSLATED')->item %>
QUERY_STRING The information which follows the ? in the URL which referenced this script. This is the query information.<%= $Request->ServerVariables('QUERY_STRING')->item %>
REMOTE_ADDR The IP address of the remote host making the request. <%= $Request->ServerVariables('REMOTE_ADDR')->item %>
REMOTE_HOST The hostname making the request. If the server does not have this information, it will set REMOTE_ADDR and leave this empty.<%= $Request->ServerVariables('REMOTE_HOST')->item %>
REMOTE_USER If the server supports user authentication, and the script is protected, this is the username by which the user is authenticated. <%= $Request->ServerVariables('REMOTE_USER')->item %>