Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Your Email:

The Basic Uses Of SSI - Server Side Includes

By Sean Burns
2003-10-14


One Last Tip On SSI

One last tip on SSI. You can Include files within an Include file. This means that, using the above example, you could have <!--#include virtual="/anotherfile.html" --> within the header.html file. It is important to note that you still need to follow your servers "rules" so you may need to change header.html to header.shtml. The most common example of doing this is what occurs on this site - we Include our ad script within our header and footer files. So within header.shtml we have <!--#include virtual="/cgi-bin/centralad/ssirand.cgi.html" --> which generates the ads within the header file that we Include in this page.

There are other uses for SSI - you can include dates, browser info, referrers and so on but what I have described is a good start and will save you a lot of time.

Tutorial Pages:
» Introduction To SSI - Server Side Includes
» How To Use SSI
» Extensions And Hosting
» One Last Tip On SSI


Related Tutorials:
» Enrich Your Web Applications
» Microsoft Complicates HTML Emails With Outlook 2007
» Testing Your Forms for Hijacking Vulnerability
» Control Your Domain Registration Data
» HTML Forms POST, GET
» HTML Tables