O'Reilly logo

Codin’ for the Web: A Designer’s Guide to Developing Dynamic Web Sites by Charles Wyke-Smith

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 2. Processing Forms

Image

ENSURE THAT FORM DATA IS IN THE RIGHT FORMAT FOR YOUR NEEDS AND PROTECT YOUR SITE FROM ATTACKS

The first PHP programming skill that any Web programmer needs is the ability to manage the data submitted from forms filled out by the user, as forms are the primary way that users communicate with you. Without forms, your site is a one-way street.

The most common type of form is a signup process of some kind; the form might require simply an e-mail address to send the visitor a newsletter, or it might require extensive information such as name, address, e-mail address, and credit card data for a store checkout. For a classified ...

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