Side Include (SSI) commands are executed by
the server as it parses your HTML file. Server
side includes have a variety of uses including
displaying the date and time and adding a common
signature to each of your web pages.
files containing SSI must be named with the
extension .shtml. SSI commands are easy to add
to your HTML, but you must follow the syntax
summary of the most popular SSI commands available
on our servers are listed below. Please note
that whilst it is possible to execute a CGI
program from a server side include, this feature
is disabled on our systems due to the security
issues it presents.
The echo command can be used to display the
content of the server side environment variables
Date_Local Current date and time
Document_Name File name of the main document
Document_URI Path and file name of the main
Last_Modified Date and time the main document
was last modifie
example, to include the current date and time
you would place the following code into your
The Fsize Command
The fsize command includes the size of a file,
this might be helpful if you were to include
a thumbnail image and want to display the actual
file size of the original image.
The Include Command
This command can be used to include a signature
file or company logo within an HTML document.
The added document or image will appear as if
it were part of the original document.