SSI (Server Side Includes) makes HTML
documents
interactive in different ways: by returning
information to the user according to his preferences,
by executing scripts according to the results of a
given condition or by communicating with a database.
SSI is developed using a particular syntax (a script
or Token) which is integrated in the HTML document.
Once it is read and interpreted by the user's server,
the command gets executed according to the parameters
and variables it possesses. Following
is an example of SSI syntax:
<!--#command properties="value"-->
An SSi document must have one of the following file
extensions: .sht or.shtm. but we are using .shtml ok
There are 2 ways to inlcude files. These are the ways:
<!--#include virtual="text.html" --> or
<!--#include file="/Full/path/to/text.html" -->
Know that yo now a bit of SSI you need to take this little tes to make sure
your server support ssi and u know how to do it.
Copy this code and name the file test.shtml
Copy this code and name the file text.html
Now upload both files to your server and then call test.shtml from your browser.
That all!