82
EasyLAN User’s Guide
Chapter 6 — Advanced Confi guration
given in the DATA stringassoc. environment.
For example:
"Intermec-CGI/1.0:mode=single&send_hdr=yes"
Parameters
Meaning
mode=interrupt
Th
e program is run until it ends, servicing multiple requests via
ON HTTP GOTO/HTTP RESUME.
mode=single
Th
e program is started and ended once per HTTP request. Th
e
TCP-connection to the web browser is open until the program is
ended. Output on STDOUT is transmitted to the HTTP client.
send_hdr=yes
Th
e program must produce headers, the web server does not pro-
duce any.
prot=list of users
Th
e program is protected, comma separated list of user that have
access.
Fingerprint CGI Commands
GETASSOC$
GETASSOC$ is a function for getting a value from a string association.
Syntax:
GETASSOC$ (<sexp1>,<sexp2>)
<sexp
1
> is the name of the association (case-sensitive).
<sexp
2
> is the name of a tuple in the association.
An association is an array of tuples, where each tuple consists of a name
and a value.
Th
is example shows how a string, including three string names associated
with three start values, will be defi ned and one of them (time) will be
changed:
10
QUERYSTRING$="time=UNKNOWN&label=321&desc=DEF"
20
MAKEASSOC"QARRAY",QUERYSTRING$,"HTTP"
30
QTIME$=GETASSOC$("QARRAY","time")
40
QLABELS%=VAL(GETASSOC$("QARRAY","label"))
50
QDESC$=GETASSOC$("QARRAY","desc")
60
PRINT"time=";QTIME$,"LABEL=";QLABELS%,
"DESCRIPTION=";QDESC$
70
SETASSOC"QARRAY","time",time$
80
PRINT"time=";GETASSOC$("QARRAY","time")
Содержание EasyLAN 100E
Страница 1: ...EasyLAN User s Guide ...
Страница 4: ...iv EasyLAN User s Guide ...
Страница 9: ...EasyLAN User s Guide ix Contents A Glossary 97 B Technical Specifications 103 ...
Страница 10: ...x EasyLAN User s Guide Before You Begin ...
Страница 14: ...xiv EasyLAN User s Guide Before You Begin ...
Страница 32: ...18 EasyLAN User s Guide Chapter 2 Setting Up the Printer in Windows 5 Click Close ...
Страница 38: ...24 EasyLAN User s Guide Chapter 2 Setting Up the Printer in Windows ...
Страница 70: ...56 EasyLAN User s Guide Chapter 4 Using the EasyLAN Web Browser Interface ...
Страница 111: ...EasyLAN User s Guide 97 A Glossary This appendix lists the network terms used in this User s Guide in alphabetic order ...
Страница 117: ...EasyLAN User s Guide 103 B Technical Specifications ...
Страница 120: ...106 EasyLAN User s Guide Appendix B Technical Specifications ...