SSI Directives Cont.
October 4, 1999
For example, to display the current date on an HTML page
(if your web server us running on UNIX) you might have
something like:
<HTML>
<HEAD>
<TITLE>Date Test</TITLE>
</HEAD>
<BODY>
The date is:
<!--#exec cmd = "date" -->
</BODY>
</HTML>
The user would never see the tag because the web server
would dynamically perform the work and the substitution
before it went out.
|
NOTE: Most web servers have SSI disabled by default because of
the security risks so if you want to use it you'll have to
get in touch with the server administrator and have them turn
on SSI.
|
SSI with Proprietary Tag Sets
Taking off with the idea of SSI, several companies including
Cold Fusion and Net Objects designed custom web servers with
incredible SSI functionality. These third party web servers
provided a huge API which offered a host of server embedded
resources which app developers could use to make their web
pages dynamic that extended far beyond the limited
set of commands offered by the operating systems.
They also provided a huge number of formatting options as
well including complex tabular display.
Cold Fusion, perhaps the best-known SSI-based application
server offers a set of over 70 custom "CFML" tags that
execute most, if not all of your average needs on the custom
Cold Fusion Web Server. Cold Fusion also allows you to set
name/value pairs in your HTML as well.
Additional Resources:
SSI Directives
Introduction to the Web Application Development Environment (Tools)
ASP (Active Server Pages)
|