Updated September 2014; see History
xcall CGIUTL, opcode {,param1, param2 ...}
CGIUTL contains several utility functions which are very handy when writing CGI programs. The calling format and parameters beyond opcode depend on the value of opcode, so we will consider each case separately, with the value of OPCODE inserted into the syntax examples below. Opcode itself can be any numeric format. See A-Shell as a CGI Engine for more details on using CGIUTL.
Beginning with A-Shell 6.1.1390 of September 2014, A-Shell provides support for FastCGI.
Opcode |
Value |
Function |
---|---|---|
CGIOP_STATUS |
0 |
|
CGIOP_STDIN |
1 |
|
CGIOP_GETPAR |
2 |
|
CGIOP_MRGOUT |
3 |
|
CGIOP_STDOUT |
4 |
|
CGIOP_GETENV |
5 |
|
CGIOP_MRGFIL |
6 |
|
CGIOP_GETPARX |
7 |
|
CGIOP_UNESCAPE |
9 |
|
CGIOP_GETREQ |
10 |
|
CGIOP_GETPARARY |
12 |
|
Definition file: ashell.def |
History
2018 February, A-Shell 6.5.1628: Remove limit on number of subroutine parameters.
2014 September, A-Shell 6.1.1394: Add opcode CGIOP_GETPARARY.
2014 September, A-Shell 6.1.1390: Add support for FastCGI and opcodes CGIOP_UNESCAPE and CGIOP_GETREQ.