What is SSI (Server side includes) and how can I use it?

Server Side Includes (SSI) is a feature of CGI that enables you to dynamically insert a piece of information onto any ".shtml" web page. The browser displays the inserted code as if it was hard coded onto that page. For example, if you are interested in displaying the current date and time on your Web page, add one simple SSI code onto the page:

Every account supports Server Side Includes but in order for SSI to work, your file must be named with the ".shtml" extension.

Some things you can do with SSI:
- Display the current date and time in many different formats
- Display the last modified date of a file
- Insert/Include a document inside another; and
- Execute a CGI script or a command directly from the page.
- Include a document inside another.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How do I provide streaming - Audio / Video ?

We DO NOT have Real Audio server software running on our servers. However, you can stream Real...

What are some basic software paths?

Sendmail: /usr/lib/sendmailPerl5: /usr/bin/perlServerpath: /home/username/public_htmlRoot path:...

How do I change File Permissions?

If you're new to scripting, or getting the dreaded "Internal Server Error" when you try to run a...

Where do I place CGI scripts?

Although you can place cgi scripts in random directories throughout your site, it's best if you...

What is the path to sendmail?

Some programs such as the ones, which send email will need to know where the Sendmail program...