WEB Server Quick Start Page 149
Function Params
A function parameter can be a string, number, variable, or combination thereof. The
following table defines these parameter types
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’.
Numbers include any whole number
See the section on Variables
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