[ Previous ] [ Contents ] [ Index ] [ Next ]

Special Variables

In addition to the CGI environment variables described on page 18, you can use any of the following variables in your server-parsed HTML commands:

DATE_GMT

The current date and time in Greenwich mean time. This variable uses the format specified with the timefmt argument to the #config command, if any.

DATE_LOCAL

The current date and time in the local time zone for the server. This variable uses the format specified with the timefmt argument to the #config command, if any.

DOCUMENT_NAME

The name of the file using this variable. Contains only the file name, not the location.

DOCUMENT_URI

The path to the file using this variable relative to the page root directory. Contains the directory location and the file name. For example, /parsed_docs/myfile.shtml.

LAST_MODIFIED

The last modification date of the file using this variable. This variable uses the format specified with the timefmt argument to the #config command, if any.

QUERY_STRING_UNESCAPED

The unescaped version of any search query the client sent, with all shell-special characters escaped with \.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.