Basic HTML version of Foils prepared 11 May 1997

Foil 30 Some SSI Commands

From Introduction to CGI Programming ECS400 Spring 97 Senior Undergraduate Course -- Spring Semester 97. by Nancy J. McCracken *

<!--#echo var="DOCUMENT_NAME"-->
The echo command is used with the var tag to print the values of any Environment Variables from the standard list known to web servers/browsers plus this set for SSI:
DOCUMENT_NAME, DOCUMENT_URI, QUERY_STRING_UNESCAPED, DATE_LOCAL, DATE_GMT, LAST_MODIFIED
<!--#include file="address.html"-->
<!--#include virtual="/projects/mine/address.html"-->
These commands include the contents of the indicated files.
<!--#exec cgi="/cgi-bin/counter.pl"-->
This command allows the execution of other programs. These programs don't necessarily have to be in the server's cgi-bin directory, but they may raise special security issues.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Aug 21 1997