Server Side Include
Introduction
What is SSI?
Using SSI
SSI Commands
Additional SSI Variables
SSI Sample Commands
Enabling SSI
REFERENCES
What Is SSI?
SSI stands for Server Side Include. It is a method of invoking script programs that run on the web server to perform some function and/or add information to a web page. For instance SSI can be useful if you want to do the following:
Add a hit counter to your page or passively count hits on your page.
Add file information to your page, such as the last update date.
Include another HTML file in your page.
Configuring dates format
Run a file
Broken down, SSI means:
Server
refers to the server (computer where these web pages are stored).
Side
refers to all actions occurring in the server, i.e., JavaScripts are (client side) commands that make the web browser (Netscape, IE) do something. These (Server Side) commands, on the other hand, occur within a program on the s erver not the browser.
Includes
means that, whatever action is taken by our server, its output is included in the html document at whatever location the command is placed.
SSI includes are not without some drawback:
They significantly increase the work the server must do, therefore they should be used sparingly.
SSI commands pose some security concerns.
An additional burden on the server is the search in the ".SHTML" file for SSI statements. This is then served as the whole page including any output from any script called in the ".SHTML" file.
An additional burden on the server is the search in the ".SHTML" file for SSI statements. This is then served as the whole page including any output from any script called in the ".SHTML" file.
NOTE
SSI is certainly not a replacement for CGI, or other technologies used for generating dynamic web pages. On the other hand, it is a good way to add small amounts of dynamic content to pages, without doing a lot of extra work.
"Apache Website"
Terms of Service
Acceptable use of Policy
Service Agreement
©Copyright 2003 - WebFreebie.com free web hosting and domain registration