<!--#echo var="DATE_LOCAL" -->
<!--#include virtual="fic.html" --> which outputs the web page fic.html:
The general form of the SSI directive is:
Here are three types of server instructions:
Tells the server to execute the script [script.cgi].
The exec include will trigger a script or command. The commands available to you vary according to the server your page is on, contact your ISP to find out which ones are available to you.
Inserts the file [filename] (provided [filename] is in the same directory as the current file).
Inserts the file [file reference].
Including additional information on your page is one of the most powerful applications of SSI. The extension on the external include can be .txt, .inc or .html. If you use .shtml, you may nest includes within includes. Here is an example:
<!--#include virtual="pp.shtml" --> which outputs:
Purple polka-dotted elephants.
The source for pp.html is:
Purple polka-dotted <!--#include virtual="elephant.shtml" -->.
The source for elephant.shtml is:
elephants
Inserts the information from [server/environmental variable] into the text.
| Server Side Includes (SSI) Resources |
| SSI Tutorial http://www.useforesite.com/tut_ssi.shtml |
| The ECHO Directive:
Displaying the Environment in Server Side Includes! http://bignosebird.com/sdocs/echo.shtml |
| Ada's Introduction
to SSI http://adashimar.hypermart.net/ssi.htm |
| Beginner's Guide To
Server Side Includes (SSI) http://echodev.com/tutorials/ssi/basics/ |
| Server Side Includes http://mkruse.netexpress.net/info/ssi/ |
| How to Get Started
With Server-Side Includes http://www.netscapeworld.com/netscapeworld/nw-01-1997/nw-01-ssi.html |
| Server Side Includes http://www.carleton.ca/~dmcfet/html/ssi3.html |
SSI defined by Webopedia
NCSA Server Side Includes HTTPd Tutorial
www.acoustic.org/dm164/script/ssi.shtml for class information on SSI.
See Webmonkey for help with web design.