Accepting Input from the Browser





More important is the capability of CGI to receive information from the browser, the feature that gives the Web its interactive nature
A CGI program receives two types of information from the browser. First, Ito, various pieces of information about the browser, the server, and the CGI program itself. The server provides all the information to the CGI program through environment variables.
Second, the CGI program can get information entered by the user. This information after first being encoded by the browser, is sent either through an environment, variable (the GET method) or through the standard input (the POST method).
Domain Name Search
|