iTP Secure WebServer System Administrator's Guide (Version 7.0)
Using Common Gateway Interface (CGI) Programs
iTP Secure WebServer System Administrator’s Guide—523346-012
8-17
Passing CGI Environment Variables
Table 8-2. Pathway Specific Environment Variables (page 1 of 4)
Environment Variable Description
AUTOMATIC_FORM_D
ECODING
*
Causes form-encoded data and name-value pairs in the 
QUERY_STRING environment variable to be stored in 
environment variables. 
This feature is only applicable to CGI objects with a MIME type of 
application/x-httpd-guardian. The parsing automatically decodes 
the form encoded data from the stdin file (or pseudo stdin in the 
case of Pathway servers). The parsing mechanism also 
decrements the CONTENT_LENGTH environment variable 
accordingly.
Format: 
Region /* {AddCGI AUTOMATIC_FORM_DECODING ON | 
OFF}
Example:
To retrieve the value of the form entry:
<INPUT SIZE=30 NAME="First_Name"> <b> Your First 
Name</b> <br>
Use the following:
getenv ("First_Name"); 
In this example, the environment variables are made with the same 
names as the name portion of the name value pair.
(Continued on next page)
* When AUTOMATIC_FORM_DECODING is used, only the last value in a multiple selection will be returned if the 
POST method is used along with the multiple tag. To see all values, use the GET method and the 
QUERY_STRING variable.










