Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

HTML Server Side Includes: echo

Tech Computer Center logo

The general form of the SSI echo command is:

      <!--#echo var="variable"-->
where the variable is one of those from the list below. When the page is rendered by a browser, the command will be replaced by the value of one of these variables.
Source form Example Meaning
DATE_LOCAL Thursday, 22-Mar-2018 21:25:13 MDT Current local date and time.
DATE_GMT Friday, 23-Mar-2018 03:25:13 GMT Current Universal Time.
DOCUMENT_NAME ssi_echo.html The name of the document—just the filename.
DOCUMENT_URI /tcc/help/html/ssi_echo.html The document's Universal Resource Identifier, without the “http://.../” part.
GATEWAY_INTERFACE CGI/1.1 Server's CGI (Common Gateway Interface) protocol.
LAST_MODIFIED Saturday, 08-Aug-2015 22:24:08 MDT Date and time when the page was last changed.
SCRIPT_NAME /tcc/help/html/ssi_echo.html Path of the script being executed.
SERVER_NAME Name of the Web server.
SERVER_PROTOCOL HTTP/1.0 Protocol used on the Web server.
SERVER_SOFTWARE Apache/2.2.3 (Red Hat) Name of the Web server software.

Next: HTML Server Side Includes: include
See also: Using HTML Server Side Includes (SSI)
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman,
Last updated: 2009/01/16 19:17:40 UT
QR two-dimensional bar code