These variables are available to the echo command, if, elif, and any program on the server invoked with the exec command:
The current date (at the server) in Greenwich Mean Time
The current date (at the server) in the local time zone
The name of the current file (excluding directories)
The (%-decoded) URL path of the current file
The last modification date and time for the current file
Contains the "unescaped" version of any search query (GET) sent by the browser. Any special characters are escaped using the backslash (\) character.
The following are just a few of the many standard environment variables available to both CGI programs and Server Side Includes:
The URL of the document the client was viewing before selecting the link (or form) that accessed the SSI page or CGI script
The remote hostname from which the user is making the request (can be useful for detecting top level domain suffixes such as .com, .edu, etc.)
Copyright © 2002 O'Reilly & Associates. All rights reserved.