• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Forms > Overview: Forms and CGI

Overview: Forms and CGI

As the Web becomes more interactive, the need for interface components to gather data from users is greater than ever. Fortunately, this need was anticipated in earlier versions of HTML and resulted in the introduction of the form tags. Forms are the visible or front-end portion of interactive pages. Users enter information into form fields or controls—user interface elements that are similar to those found on Windows and Macintosh operating systems—and click a button to submit the data. The browser then packages the data, opens an HTTP connection, and sends the data to a server. Things then move to the transparent or back-end part of the process.

Web servers are programs that know how to distribute Web pages. They are not programmed to process data from every possible form, so the best they can do is hand off the form data to a program that does know what to do with it. This handoff occurs with the help of the Common Gateway Interface or CGI—a set of standards by which servers communicate with external programs.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint