O'Reilly logo

PHP 5 Unleashed by John Coggeshall

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 5. Advanced Form Techniques

In Chapter 4, “Working with Forms in PHP,” I introduced the HTML form and showed how it can be used to input data into a PHP script. In this chapter, I will take a step back from the standard HTML form/PHP relationship and introduce an assortment of methods and concepts that you can directly apply to your PHP scripts. In this chapter you will find ways to accomplish tasks such as protecting values passed to HTML forms (hidden fields), data encoding and transformation, as well as some eloquent methods of validating data submitted from forms.

Note that this chapter isn't designed to be an end-all, as there are often many methods to ...

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