Server Side Include (SSI) 43
Doc: HMSI-27-309, Rev. 3.11Anybus Communicator PROFINET User Manual
IncludeFile
This function includes the contents of a file on a web page.
Syntax:
<?--#exec cmd_argument="IncludeFile( ’File name’ )"-->
Default output:
Success - <File content>
Failure - Failed to open <filename>
SaveToFile
Note: This function cannot be used in e-mail messages.
This function saves the contents of a passed form to a file. The passed name/value pair will be written
to the file “File name” separated by the “Separator” string. The [Append|Overwrite] parameter deter-
mines if the specified file shall be overwritten, or if the data in the file shall be appended.
Syntax:
<?--#exec cmd_argument="saveToFile( ’File name’, ’Separator’,[Append|Over-
write] )"-->
Default output:
Success - Form saved to file
Failure - Failed to save form
SaveDataToFile
Note: This function cannot be used in e-mail messages.
This function saves the data of a passed form to a file. The “Object name” parameter is optional, if spec-
ified, only the data from that object will be stored. If not, the data from all objects in the form will be
stored.
The [Append|Overwrite] parameter determines if the specified file shall be overwritten, or if the data
in the file shall be appended.
Syntax:
<?--#exec cmd_argument="saveDataToFile( ’File name’, ’Object name’,[Ap-
pend|Overwrite] )"-->
Default output:
Success - Form saved to file
Failure - Failed to save form