Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

There now follows a complete list of all server-side include variables available for use in your HTML pages.

Most SSI variables do not need to be housed in the '<>' HTML tags, however, variable-length ones do, and these are detailed at the bottom of the list.

SSI variable Description
#SSI_DATELONG Displays the current system date in long 'dd mmmm yyyy' format, eg. 04 January 2001.
#SSI_DATESHORT Displays the current system date in short dd/mm/yyyy format, eg. 04/01/2001.
#SSI_TIME Displays the current system time in HH:MM:SS format, eg. 23:02:41.
#SSI_PERIODS Produces a list of valid periods which are used to replace the fromdate and todate parameters in reports.
#SSI_EXTNGROUP Produces a list of available extension groups, including the internal 'New Extensions' group which contains newly-discovered extension numbers.
#SSI_TRUNKGROUP Produces a list of available trunk groups, including the internal 'New Trunks' group which contains newly-discovered trunk numbers.
#SSI_SITELIST Produces a list of valid sites as found in the SITES.CFG file.
#SSI_REGNAME Displays the name of the company to whom the software is registered.
#SSI_REMOTEIP Displays the IP address of the client (ie. the entity that is connecting to the web server).
#SSI_REMOTEHOST Displays the resolved host name of the client.
#SSI_REMOTEPORT Displays the request port of the client.
#SSI_LCV Returns an HTML table containing a copy of the information currently displayed in the live call view list. The table includes the column headers and also any highlighted calls.
#SSI_FIELDS Produces a drop-down list in the context of an HTML form, containing a list of the fields in the database. Its primary use is for telling a report which field to sort on.
#SSI_STATS:ID Returns the unique identifier of the set of statistics currently being collected. This could be a numeric form of the current date on which live statistics are being collected.
#SSI_STATS:GROUP Returns the extension group (if any) that statistics are currently being collected for.
#SSI_STATS:NUMABANDON Returns the total number of abandoned calls.
Labels: