Gossamer Forum
Quote Reply
%ENV
Hi,
My server provides the following in %ENV.
I would appreciate it if someone could answer
my questions below-

CONTENT_LENGTH
CONTENT_TYPE
DOCUMENT_ROOT
GATEWAY_INTERFACE
HTTP_HOST
HTTP_USER_AGENT
PATH
QUERY_STRING
REMOTE_ADDR
REMOTE_HOST
REMOTE_PORT
REQUEST_METHOD
REQUEST_URI
SCRIPT_FILENAME
SCRIPT_NAME
SERVER_ADDR
SERVER_ADMIN
SERVER_NAME
SERVER_PORT
SERVER_PROTOCOL
SERVER_SIGNATURE
SERVER_SOFTWARE
TZ


1/ If a user calls my perl script will all of the above variables be provided or does it depend on
the users server and browser as well?

2/ If it depends on their server or browser, are any of
the variables standard accross all platforms and browsers?

3/ I noticed that my server doesn't have an HTTP_REFERER. Will a combination of HTTP_HOST and REQUEST_URI(or SCRIPT_NAME)
do the same thing?

Thank you.
Simon.