Share this Page URL

Part I: Learning XHTML > Collecting Data with Forms - Pg. 46

46 Chapter 4. Collecting Data with Forms As witnessed by today's booming "dot com" economy, nothing has been more vital to the success of the Web as a commercial medium as the ability to collect data from Web site visitors. The sale of information, services, and products of all kinds are contributing to the billions of dollars changing hands each year online; and each transaction begins with a simple form. Forms combine not just XHTML elements and content, but additional scripts and programmatic actions in order to collect the data from the user and deliver it to the site owner by email, store it on the Web server, or perhaps insert it directly into a database. This chapter teaches you: · How to use each of the 10 form controls · How form content is processed · How to implement a simple CGI script written in Perl