Online Manual

SSI -5-

Tricks

Back Button

You want to create a real back button? It's easy using SSI. Just use the directive and tag below.

<a href="<!--#echo var="HTTP_REFERER" -->">Backup Page</a>

This comes out as shown below.

Backup Page

One thing to remember when using this method: you will get "(none)" as a value, meaning there is no referrer and thus no page to back up to. It's a good idea, if you want to avoid 404 errors, to include a page entitled "(none)".

Displaying Modification Date Of File

Use the following SSI directive to show the last modified date of a file.

<!--#flastmod file="ssi5.htm" -->

This produces:

Sunday, 31-Dec-2023 13:46:35 EST

Displaying Size Of File

Use the following SSI directive to show the size of a file.

<!--#fsize virtual="ssi5.htm" -->

This produces:

3.4K

 

Return To Menu

- Last modified on 3/19/2003 -


Home / Hosting / Domain Lookup / Support / Email Contact

© 1998-2024 Spunkyworld Internet Services - All rights reserved