Variables Available to the echo command

LAST_MODIFIED
Last modified on
Last modified on <!--#echo var="LAST_MODIFIED"-->
DOCUMENT_NAME
The document name is
The document name is <!--#echo var="DOCUMENT_NAME"-->
DOCUMENT_URI
The document URI is
The document URI is <!--#echo var="DOCUMENT_URI"-->
DATE_GMT
The GMT date is
The GMT date is <!--#echo var="DATE_GMT"-->
DATE_LOCAL
The local date is
The local date is <!--#echo var="DATE_LOCAL"-->
The above variables are the variables that are specific to the echo command. However, echo can also print any environment variables
PATH
The path is
The path is <!--#echo var="PATH"-->

Including Files

Here is the file that I include in my class pages

Relative reference: <!--#include file="menu.htm">

Absolute reference: <!--#include virtual="/~downeyt/menu.htm">

Size and Last Modified of a file

Here is the file that I include in my class pages

Relative reference: Last modified on <!--#flastmod file="menu.htm">

Last modified on

Absolute reference: Last modified on <!--#flastmod virtual="/~downeyt/menu.htm">

Last modified on

Relative reference: File size in K <!--#fsize file="menu.htm">

File size in K

Absolute reference: File size in K <!--#fsize virtual="/~downeyt/menu.htm">

File size in K

It is also possible to include the output of a cgi script

Using exec (carefully)

How did I get from here to there?
<!--#exec cmd="/usr/local/bin/traceroute $REMOTE_ADDR"-->