Server Side Includes

default

serverSideInludes-[ssi]= a file drawn from the server and migrated into a webDocument before being sent to the client-[browser].

The webDocument needs to have an extension that will prompt the webServer to search for and replace the ssi tags. The default extention is: .shtml

Apache:
To turn on the include module, uncomment this line
in httpd.conf:
LoadModule include_module libexec/apache24/mod_include.so

To set up .shtml extentions and turn on includes, add this
to your apache configuration or to an .htaccess:
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Options +IncludesNoExec

--serverSideInclude--
<!--#include file="myFile.txt"-->
<!-- #include virtual="/myFile.txt" -->

--php serverSideInclude--
<?php include("myFile.txt"); ?>
<?php require("myFile.txt"); ?>


default