CGI Introduction

Previous Next

Methods to Pass Parameters

There are two methods, how CGI exchanges parameters with the called program:
Get and Post Parameter Passing Methods
MethodsInputOutput
Getenvironment variable QUERY_STRINGStandard Out (stdout)
PostStandard In (stdin)Standard Out (stdout)

Note: ILE RPG/400 and COBOL/400 offer routines to accomplish these C functions.

POST is the preferred method:

Remember to enable the method you use within the HTTP configuration file.

Previous Next

Agenda

CGI030