w3GetCgiAll

Syntax   Parameters   Example Programs   Example

w3GetCgiAll returns the name and contents for all CGI variables.

Syntax

call w3GetCgiAll (array)

Parameters

array

Out

Contains the list of CGI variable names and variable contents. Attribute 1 contains the unsorted attribute names, while the corresponding value in attribute 2 contains the variable contents. If the variable contains more than one response, sub-values are used to separate the responses.

 

Example Programs

w3GetValAllTest

EchomvD

Example

The following example displays the name and contents of all variables on a Web page.

ary = ""

call w3GetCgiAll(ary

cnt1 = dcount(ary<1>, @VM

for i = 1 to cnt1

cnt2 = dcount(ary<2,i>, @SVM)

CRT "Variable: ":ary<1,i>:" Contents: ":

for j = 1 to cnt2

CRT ary<2,i,j>:

next j

next i