O'Reilly logo

Absolute Beginner’s Guide to Creating Web Pages by Todd Stauffer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16. CGIs and Data Gathering

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 from the Web server, it should look through that data, compute what it needs to compute, and reply to the user. In this chapter, we look at the components that make up this back-end system, and you’ll get a taste of the scripting that’s required to make this all work.

This chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required