|
|
| CONTENT_LENGTH |
The number of bytes of data passed through standard input via the POST
method. |
| DOCUMENT_ROOT |
Path on the server to the web site (root URL) being accessed. |
| GATEWAY_INTERFACE |
Protocol used to communicate with the server. |
| HTTP_USER_AGENT |
The name (eg. 'Mozilla') and version (eg. '4.03') of the browser used
to access the server and the type of platform used by the browser (eg.
'Macintosh;I;PPC'). |
| HTTP_REFERER |
The URL of the page that was being viewed when the script was accessed,
either via a link or by direct entering o fthe URL. Can be used to check
that the user has come from a recognised source, to help with security. |
| QUERY_STRING |
Holds the data input via the GET method. |
| REQUEST_METHOD |
Either "POST" or "GET", depending on what is set on the method
attributes of the form tag. NB This value will be "POST" if method="POST",
even if some data is passed via GET (eg. data appended directly to the
action
URL).
The following will cause both methods to be used, even though $REQUEST_METHOD="POST":
<form action="cgi/proc?A=1&B=2" method="post"> |
| SERVER_SOFTWARE |
Name and version of the web server. |