SSI Examples

Code in file Resulting output
You have requested the file
<I><!--#echo var="DOCUMENT_NAME"--></I>.
You have requested the file SSI.shtml.
It was last modified
<FONT COLOR="#FF0000"> <!--#echo
var="LAST_MODIFIED"--> </FONT>
It was last modified Thursday, 04-Jan-2001 22:02:09 EST
To be specific, you requested
http://<!--#echo var="SERVER_NAME"--><!--#echo
var="DOCUMENT_URI"-->
To be specific, you requested http://plexoft.com/SBF/SSI.shtml
<FONT COLOR="RED">
<!--#echo var="SERVER_NAME"-->
</FONT>
is the domain name of the server of this page.
plexoft.com is the domain name of the server of this page.
You have requested this page from client
software (a graphical browser like Netscape,
very likely) running on the machine answering
to the domain name
<!--#echo var="REMOTE_HOST"-->.
You have requested this page from client software (a graphical browser like Netscape, very likely) running on the machine answering to the domain name (none).
Following the URL, an optional query string (indicated by a
question mark) contains
<!--#echo var="QUERY_STRING_UNESCAPED"-->
Following the URL, an optional query string (indicated by a question mark) contains (none)
<!--#echo var="DATE_LOCAL"--> Tuesday, 03-Dec-2024 13:11:00 EST
<!--#echo var="DATE_GMT"--> Tuesday, 03-Dec-2024 18:11:00 GMT

For more environment variables to echo, visit informant.cgi.