![Anybus CompactCom 40 Common Ethernet Design Manual Download Page 27](http://html1.mh-extra.com/html/anybus/compactcom-40-common-ethernet/compactcom-40-common-ethernet_design-manual_2948756027.webp)
25 (104)
8
Server Side Include (SSI)
8.1
General Information
Server Side Include functionality, or SSI, allows data from files and objects to be represented on
web pages and in e-mail messages.
SSI are special commands embedded within the source document. When the Anybus Com-
pactCom module encounters such a command, it will execute it, and replace it with the result (if
applicable).
By default, only files with the extension ‘shtm’ are scanned for SSI.
8.2
Include File
This function includes the contents of a file. The content is scanned for SSI.
This function cannot be used in e-mail messages.
Syntax:
<?--#include file="filename"-->
filename:
Source file
Scenario
Default Output
Success
(contents of file)
8.3
Command Functions
8.3.1
General Information
Command functions executes commands and includes the result.
General Syntax
<?--#exec cmd_argument='command'-->
command:
Command function, see below
“command” is limited to a maximum of 500 characters.
Command Functions
Command
Valid for E-mail Messages
GetConfigItem()
Yes
SetConfigItem()
No
SsiOutput()
Yes
DisplayRemoteUser
No
ChangeLanguage()
No
IncludeFile()
Yes
SaveDataToFile()
No
Anybus
®
CompactCom
™
40 Common Ethernet Design Guide
HMSI-27–269 2.1