Company
Real 24/7 Support

Our techs are ALWAYS here! When you have an issue we are here to solve it immediately - 24 hours a day and 7 days a week. We are here for you!

Domain Registration
  

Register a .com, .net, .org, .biz, .info, or .us domain name for just $12.95/yr! Retain full control and full ownership via your account at NexusDomains.

Server Side Include Tutorials

Server Side Include or SSI is a piece of code that is embedded into an HTML page and interpreted by the the server before the page is sent to the client's browser. SSI allows you to include information in your HTML files like a file's date of last modification, or even another HTML file. Any file that has the extension .shtml will automatically be parsed by the server.

A Server Side Include command is contained within a comment tag:

<!--#command argument="value"-->

SIX BASIC COMMANDS

Include - Allows you to have another file included, or embedded, into the shtml file. It cannot include the output of a CGI script. There are two subdivisions of include: virtual (which gives a virtual path to a document on the server) and file (which gives a pathname relative to the current directory)

Echo - Can be used to include the contents of an environment variable.

Exec - Will execute a Unix command or CGI script.

Fsize - Returns the size of a specified file.

Flastmod - Returns the last modification date of a specified file.

Config - Used to control things like the format of output and error messages generated by parsing process.