Server Side Includes

Server Side Includes can be used to dynamically have the server enter some information into a web page when the viewer loads it. Below are some examples of SSI tags. Please remember that your server must be properly configured to call SSI files.

<!--#echo var="SERVER_NAME"-->www.ctfire.comThe domain name of the server.
<!--#echo var="DOCUMENT_NAME"-->ssi.shtmlThe name of the current document.
<!--#echo var="DOCUMENT_URI"-->/thebin/ssi.shtmlThe path of the current document.
<!--#echo var="DATE_LOCAL"-->Friday, 23-May-97 13:50:05 CDTDisplays the local time & date.
<!--#echo var="REMOTE_ADDR"--> IP number of the viewer.
<!--#echo var="REMOTE_HOST"-->firestone.archive.orgThe domain name of the viewer.
<!--#echo var="HTTP_USER_AGENT"-->ia_archiver/1.6The browser the viewer is using.
<!--#echo var="HTTP_REFERER"-->(none)URL of previously viewed page.