WEB Server Quick Start
Page 149
W
eb
S
er
ve
r
Function Params
A function parameter can be a string, number, variable, or combination thereof. The
following table defines these parameter types
Type
Usage
String
A string is any combination of double-quoted values and
hex values.
Double-quoted values may include escape characters
using a backslash \
Valid escape characters are:
\r – carriage return
\n – new line
\t – tab
\" – double-quotation mark
\\ – backslash
\x – hex where the x is followed by two ASCII hex
characters. For example, \x35 represents the ASCII
character ‘5’.
Number
Numbers include any whole number
Variable
See the section on Variables
Combination
To combine two or more values together for a single
parameter, use the concatenation operator. The
concatenation operator is a single period "."
For example, to output a link to a page on the web server
using Ethernet port A, use the print function as follows:
<a href="<? print("http://" . $_SERVER["ipa"] .
"/newpage.htm"); ?>">New Page</a>
Using the default IP address, this will result in a link to:
http://192.168.0.254/newpage,htm
Содержание 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: ......