ContentsIndexPreviousNext

7.3 Writing a CGI Program

Since browsers like Netscape and Internet Explorer communicate using HTTP (the protocol for sending HTML documents), your application must be able to interpret HTTP requests and return an HTTP response to the browser. This is where your CGI program comes in . . .


Note: HTTP is the protocol that governs how requests are submitted and responses are returned. The content of the response may be HTML or it may be some other MIME type. HTML is the most common.
More:

7.3.1 What is CGI?

7.3.2 The CGI Program

7.3.2.1 Reading CGI Variables

7.3.2.2 Processing the User's Request

7.3.2.3 Generating HTML Output

7.3.3 CGI Guidelines

7.3.4 Sample CGI Programs