
WEB Server Quick Start
Page 143
W
eb
S
er
ve
r
Show Controller Web-Script
The show controller’s HTTP server supports a scripting language with a similar syntax to
the widely used PHP language. This syntax is recognized by many modern HTML
editors and therefore will not interfere with the design of a web page. Although the
syntax is similar, the show controllers do not support the PHP language.
Web-Script Blocks
A single web-script file may have many web-script blocks but no single block may
contain over 350 characters. This limit has been established to ensure that normal
operation of the show controller is not interrupted by a web-script. The following table
shows the characters used to define a web-script block.
Characters
Description
<?
start a script block
?>
end a script block
If Statements
If statements can be used to control whether commands within the web-script will be
executed. In the examples below, the value of A and B may be a string, number, or
variable.
Usage
Description
if(A == B)
{
}
Compare two values and execute the code between the braces
only if they are equal
if(A != B)
{
}
Compare two values and execute the code between the braces
only if they are not equal
Содержание V16Pro
Страница 1: ...V Series Network Controllers Alcorn McBride January 3 2018 User s Guide...
Страница 48: ......
Страница 64: ......
Страница 86: ......
Страница 91: ...V16Pro Page 91 V16Pro...
Страница 114: ......
Страница 118: ...VCore Page 118 VCore Figure 11 Front View Figure 12 Rear View...
Страница 119: ...VCore Page 119 VCore Figure 13 Top View Figure 14 Bottom View...
Страница 138: ......
Страница 167: ...Serial and Ethernet Control Page 167 Control Example Send Command AHJ 0D enables port A Response R 0D...
Страница 172: ......