webtown1.png (3102 bytes)

button_services.png (401 bytes) button_customercare.png (465 bytes) button_whatsnew.png (428 bytes) button_policies.png (341 bytes)
button_aboutus.png (378 bytes)button_contactus.png (416 bytes) button_partners.png (383 bytes) button_signup.png (338 bytes)

button2.png (368 bytes) F A Q
button2.png (368 bytes) How to FTP
button2.png (368 bytes) SSI - shtml
button2.png (368 bytes) PHP Sources
button2.png (368 bytes) CGI-BIN
button2.png (368 bytes) MySQL
button2.png (368 bytes) Apache

fp2000box.jpg (8224 bytes)


Using Server Side Includes

While standard HTML files are fine for storing pages, it is very useful to be able to create some content dynamically. For example, to add a footer or header to all files, or to insert document information such as last modified times automatically. This can be done with CGI, but that can be complex and requires programming or scripting skills. For simple dynamic documents there is an alternative: server-side-includes (SSI).

SSI lets you embed a number of special 'commands' into the HTML itself. When the server reads an SSI document, it looks for these commands and performs the necessary action. For example, there is an SSI command which inserts the document's last modification time. When the server reads a file with this command in, it replaces the command with the appropriate time.

You need to use the .shtml extension for your documents on WebTwon.net web servers.

You can get more information on SSI at ApacheWeek.

Copyright 1996- 2015 FiberCast Corporation
All rights reserved. Reproduction or use of any editorial or pictorial content in any manner is prohibited without express written permission of FiberCast Corporation