What is SSI (Server Side Includes) and how can I use it? Print

  • 0

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.

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
- Execute a CGI script or a command directly from the page
- Include a document inside another

See http://en.wikipedia.org/wiki/Server_Side_Includes for more detailed info on using SSI.

Ha estat útil la resposta?

« Enrere