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. ...
Get Absolute Beginner’s Guide to Creating Web Pages 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.