Forum Moderators: open
<!--#include file="file.inc" -->
You need to use the .inc extention, .txt or .asp etc. will also work. You can also use a virtual include:
<!--#include virtual="file.inc" -->
Some more info here [4guysfromrolla.com] and here [hoohoo.ncsa.uiuc.edu] on this.
You will need to use a server-side language that understands SSI's, like PHP, ASP or SHTML.
Just to clear this up a bit: Server Side Includes or SSI for short usually refer to the serverīs processing of specially formated SGML comments. See the documentation for Apacheīsmod_include [httpd.apache.org] module. .shtml is just an extension that is usually handled by mod_include. But this will depend entirely on you server configuration.
Server-side scripting languages may have some function to include an external file as well. This depends entirely on the languageīs syntax and is usually not referred to as SSI. In PHP you may use include/include_once or require/require_once, in Perl you can use use, do, require.
Andreas