logo To Foot
© J R Stockton, ≥ 2008-04-12

Server Side Includes.

Links within this site :-

Some tests of Demon Homepages SSI.

Notes :
Naturally, only works when using the server.
Extension is shtml, therefore ignored by some of my local test tools.

SSI Strings Used

S1 = <!--#echo var="DATE_GMT"-->
S2 = <!--#echo var="DATE_LOCAL"-->
S3 = <!--#echo var="LAST_MODIFIED"-->
S4 = <!--#config timefmt="%Y/%m/%d %T"-->
S5 = <!--#flastmod virtual="/last-mod.htm"-->

Using HTML

Using default settings for the server supplying this page :-
 Server GMT           = (S1) Monday, 08-Mar-10 00:22:47 GMT
 Server LOCAL         = (S2) Monday, 08-Mar-10 00:22:47 GMT
 Server LAST_MODIFIED = (S3) Sunday, 13-Apr-08 17:32:41 GMT

Using JavaScript

NOTE that, when viewed from the server, SSI will already have been executed in the source and therefore in the code shown in the boxes,

Using default settings for the server supplying this page :-

The default date string sent is not necessarily compatible with JavaScript new Date(), or even unambiguous.

SSI S4 is → ← there.

With that setting :-

last-mod.htm

The last-modified of last-mod.htm given by SSI (after string S4) is, using S5 :-

2009/09/30 15:09:59

References

SSI footer here :
Home Page
Mail: no HTML
© Dr J R Stockton, near London, UK.
All Rights Reserved.
These pages are tested mainly with Firefox 3.0 and W3's Tidy.
This site, http://www.merlyn.demon.co.uk/, is maintained by me.
Head.