FITZWILLIAM Ltd.

Baby







You came here from: 
Your IP address is: 
Your Screen Resolution is:  

Server-Side Includes

There are environment variables for use in general with CGI programs and in specific with Server Side Includes. These variables, in the Unix environment, contain information such as the server's hostname or IP address, that information for the remote host accessing the web server, which browser software is being used by the remote host and so on. These variables can accessed through the %ENV associative array in Perl.


Include Tag

The include tag provides for inserting the contents of a file into the HTML page at the location of the include token. The SSI+ include tag is fully recursive, each document inserted may itself contain further SSI+ insert tokens or any other SSI+ tokens.

virtual The virtual variable is used to specify a file path/name relative to the base directory of the HTTP server. The format is: 'virtual="'<filename>'"' where <filename>a file path/name relative to the base directory of the HTTP server.

file The file variable is used to specify a file path/name relative to the directory of the current document.

The format is:'file="'<filename>'"' where <filename>a file path/name relative to the directory of the current document. Example:

The following token on an HTML document inserts all text and SSI+ tokens from the file <html base directory>'SSI\INSERT.SHT'into the current document before transmission back to the client browser:
<!--#include virtual="SSI\INSERT.SHT" -->


Last Modified: Tuesday, 09-Oct-2007 05:17:28 CDT


for a list of all your plug-ins:




Click for Bangkok, Thailand Forecast

Now try our random site choice:


Home Page: Fitzwilliam Ltd
Email: Fitzwilliam Ltd

Copyright © 1998-2002 Fitzwilliam Ltd.

This file is:  8k bytes long.