Advertisement

Working with HTML Forms

Abstract

You can toss around technical terms such as relational database, web services, session handling, and LDAP, but when it comes down to it, you started learning PHP because you wanted to build cool, interactive web sites. After all, one of the web’s most alluring aspects is that it’s two-way media; the web not only enables you to publish information but also offers an effective means for obtaining input from peers, clients, and friends. This chapter introduces one of the most common ways in which you can use PHP to interact with the user: web forms. In total, I’ll show you how to use PHP and web forms to carry out the following tasks:
  • Pass data from a form to a PHP script

  • Validate form data

  • Work with multivalued form components

  • Take advantage of PEAR: the HTML_QuickForm2 package

Keywords

User Input Conditional Logic Innocent User Shell Command Filter Extension 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© W. Jason Gilmore 2010

Personalised recommendations