SSI Syntax
May 8, 2000
SSI directives follow this format:
<!--#directive parameter="value"-->
Ok, so that's cool, but what does it mean? What's a directive,
what's a parameter and how do you know what the value is?
The directive is an instruction given to a computer, in this case our
web server, to perform a certain task.
The parameter is what the instruction will be performed on.
The value is the result you want to get from the task that was performed
on the parameter named. Huh? Confused yet?
An SSI command starts with <!--#. Note there is
no space between <!-- and #.
If you add a space your server will assume the SSI command is
simply a comment and will therefore print nothing, not even
an error message. Next comes one of six directives followed by
a parameter, an equals sign and the value. There should be no
spaces on either side of the = and the value should be enclosed
in double quotes ("). The value string should be followed by a
space and then the closing tag, (-->).
Server Side Includes
Server Side Includes
The config directive
|