Click to return to home page
Richard Lowe Jr Home

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="ssi.shtml" -->

Displaying Size Of File

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

<!--#fsize virtual="ssi.shtml" -->

Additional Reading


Unless otherwise noted, all photos and text is Copyright © Richard G Lowe, Jr.