Difference between revisions of "Server Side Includes"

From Wikicliki
Jump to: navigation, search
 
Line 1: Line 1:
 +
== Example of SSI ==
 +
 +
<pre>!--#include file="includes/inc_header.html"-->
 +
</pre>
 +
 
== SHTML ==
 
== SHTML ==
  

Revision as of 07:56, 3 December 2009

Example of SSI

!--#include file="includes/inc_header.html"-->

SHTML

A Web file with the suffix of .shtml, .stm, or .shtm (rather than the usual .htm) indicates that there will be server side information added on the fly to the file.

Common uses for this: to include a "Last modified" date at the bottom of the page, or for including headers/footers.