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" -->

Internet Tips Contents
404 Errors Advertising Autoresponse Awardmaster Basics Browsers Careers Chatting Disasters Domains Email Emoticons Ezines Free Stuff Fun Stuff FTP Graphics Homepages HTML Reference HTML Tutorial Interactive Legal Links Msg Boards Microsoft Money Multimedia Networks Newsgroups Newsletter Products RFC's Ringmaster Searches Security Sticky Sites Surfing TANSTAAFL Telnet Viral Webmaster Your System