The #set CommandThe #set command allows you to add your own variables that can be used with the #echo command. For format of a #set command is:
For example:
The #set command is extremely powerful as it provides a means of passing 'arguments' to recursively included SSI pages. This is because the #set command adds to the global variable environment, so a parsed document can set a variable then include another parsed document which uses this variable, or vice versa. For example: File title.shtml:
Then we could use this complex standard title in a document "About Zeus" as follows:
Document body goes here.
Using the #set command allows the reuse of 'components' of HTML and is extremely useful in large web-site design. Comments are closed for this post. |
Recently...
Other Resources
|





