
87 (136)
10
Server Side Include (SSI)
10.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.
10.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)
10.3
Command Functions
10.3.1
General Information
Command functions executes commands and includes the result.
General Syntax
<?--#exec cmd_argument='command'-->
command:
Command function, see below
Command Functions
Command
Valid for E-mail Messages
GetConfigItem()
Yes
SetConfigItem()
No
SsiOutput()
Yes
DisplayRemoteUser
No
ChangeLanguage()
No
IncludeFile()
Yes
SaveDataToFile()
No
printf()
Yes
scanf()
No
Anybus
®
CompactCom
™
40 EtherCAT
®
Network Guide
SCM-1202-034 1.1