Home > Computer & Electronic > Building A Website Tips > SSI: Server Side Includes

SSI: Server Side Includes

NESTED SERVER SIDE INCLUDE PARSING

This is sort of hard to explain (as most nested things are), but I am sure you will like it if you use SSI. Did you ever need to use an SSI directive in a file that is being included in a document?

 


Added: Mon Jun 13 2005
Views: 72

SSI is a very useful component of CGI. Using it, you can dynamically embed content onto your webpage

SSI, or Server Side Includes is basically a feature of CGI (in conjunction with your server) that allows you to dynamically insert a piece of information (such as the current date, any HTML file etc) onto any webpage, and have the browser display it as if it was hard coded onto that page. Let's say you're interested in displaying the current date and time on the top of your webpage. Simply by adding one simple SSI code onto the page (Saturday, 19-Jul-2008 18:19:54 CDT ), this is accomplished. The ugly alternative would be to manually edit your webpage and change the date to the current one each and every day. Starting to let SSI, are we? And that's just the beginning!

 


Added: Mon Jun 13 2005
Views: 73