EasyManuals Logo

Anybus CompactCom 40 EtherNet/IP User Manual

Anybus CompactCom 40 EtherNet/IP
198 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #40 background imageLoading...
Page #40 background image
Server Side Include (SSI) 40
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
6.3.7 IncludeFile()
This command includes the content of a file. Note that the content is not scanned for SSI.
Syntax:
<?--#exec cmd_argument='IncludeFile("filename" [, separator])'-->
filename-Source file
separator-Optional; specifies line separation characters (e.g. “<br>”).
Default Output:
Example:
The following example demonstrates how to use this function.
<HTML>
<HEAD><TITLE>IncludeFile Test</TITLE></HEAD>
<BODY>
<H1> Contents of ‘info.txt’:</H1>
<P>
<?--#exec cmd_argument='IncludeFile("info.txt")'-->.
</P>
</BODY>
</HTML>
Contents of ‘info.txt’:
Neque porro quisquam est qui dolorem ipsum quia dolor sit amet,
consectetur, adipisci velit...
When viewed in a browser, the resulting page should look somewhat as follows:
See also...
“Include File” on page 33
Scenario Default Output
Success (file contents)
Authentication Error “Authentication error ”
File open error “Failed to open file “filename” “

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Anybus CompactCom 40 EtherNet/IP and is the answer not in the manual?

Anybus CompactCom 40 EtherNet/IP Specifications

General IconGeneral
BrandAnybus
ModelCompactCom 40 EtherNet/IP
CategoryControl Unit
LanguageEnglish

Related product manuals