Environmental Variables
Parameter Name
|
Description
|
Sample Value
|
CONTENT_LENGTH
|
Form posting info to SSI page: length of posted data
|
1024
|
CONTENT_TYPE
|
Form posting info to SSI page: Type of information sent to server.
|
application/x-www-form-urlencoded
|
DATE_GMT
|
The current date/time, GMT.
|
1997/10/31:00:45:10
|
DATE_LOCAL
|
The current local date/time.
|
1997/10/30:16:45:10
|
DOCUMENT_NAME
|
The document`s path and filename.
|
Mac HD:webstar:widgets:blue.html
|
DOCUMENT_URI
|
The URL of the document
|
/widgets/blue.html
|
GATEWAY_INTERFACE
|
The CGI or API version the server uses
|
WebSTAR API (version 1)
|
HTTP_ACCEPT
|
MIME Types browser can accept
|
image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
|
HTTP_REFERER
|
The document the user just came from.
|
http://www.starnine.com/default.html
|
HTTP_USER_AGENT
|
The name and version of the user`s browser.
|
Mozilla/4.03 (Macintosh; I; PPC)
|
LAST_MODIFIED
|
Date and time the document was last modified or created.
|
1997/10/21:11:29:07
|
PATH_INFO
|
Text of the path arguments, after the
$
character in the URL.
|
sales%20territory
|
PATH_TRANSLATED
|
Decoded path arguments, after the
$
character in the URL.
|
sales territory
|
QUERY_STRING
|
Text of the search arguments, after the
$
character in the URL.
|
sample=region%201&name=pat
|
QUERY_STRING_UNESCAPED
|
Decoded search arguments, after the
$
character in the URL.
|
sample=region 1&name=tina
|
REMOTE_ADDR
|
Client's IP address
|
192.168.24.16
|
REMOTE_HOST
|
Client host name, if "use DNS" is turned on, otherwise, the IP address
|
leslie.domain.com
192.168.24.16
|
REMOTE_USER
|
User name as passed by the browser
|
Obsolete
|
REQUEST_METHOD
|
The request method
|
GET
|
SCRIPT_NAME
|
Path of the requested URL
|
/cgi-bin/myscript.cgi
|
SERVER_NAME
|
The server host name
|
www.domain.com
|
SERVER_PORT
|
The port number used
|
80
|
SERVER_PROTOCOL
|
The HTTP version used by the server
|
HTTP/1.0
|
SERVER_SOFTWARE
|
Name and version of your servers's software.
|
SERVER_SOFTWARE: WebSTAR/4.0 ID/55512
|