Webhosting Server Side Includes: Difference between revisions

(fix syntaxhighlighting)
(The workaround only applies to #include)
 
Our servers do not offer SSI facilities. <code>&lt;!--#include virtual="ssi.htm"SSI --></code>provides ora <code>&lt;!--#includesimple file="ssi.htm"programming --></code>,language howeverto youdo cana createlimited theset sameof effectoperations byon using Javascripttext. These notesFor wereexample, submittedincluding byother aHTML customerfiles, andor areprinting here toHTTP helpenvironment youvariables.
 
E.g.
* <code>&lt;!--#include virtual="ssi.htm" --></code> or <code>&lt;!--#include file="ssi.htm" --></code>
* <code>&lt;!--#echo var="LAST_MODIFIED" --></code>
 
You can create the same effect for includes by using Javascript (although these will be actually be client side includes). These notes were submitted by a customer and are here to help you.
 
How?
 
First: