16. CGIs and Data Gathering

IN THIS CHAPTER

• The fundamentals of the Common Gateway Interface, including the languages you can use and why you’d use them

• How scripts work, how data is passed to a script, and how the script replies to the user’s browser

• Finding and using scripts on the Web, or writing your own

In Chapter 15, “Adding HTML Forms,” you got an in-depth look at creating and formatting HTML forms. In this chapter, you’ll see the other side of HTML forms—gathering the data and reporting back to the user. This is accomplished using scripts, small programs that are stored on the Web server computer. Form data is sent to these scripts, as specified in the action attribute to the <form> element. Once the script receives the form data ...

Get Absolute Beginner’s Guide to Creating Web Pages, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.