Security, Forms, and Error Handling
One of the most singular characteristics of the art of deciphering is the strong conviction possessed by every person, even moderately acquainted with it, that he is able to construct a cipher which nobody else can decipher.
—Charles Babbage (1864)
This chapter builds on the structure-related topics of the previous one, getting into much more detail about security, forms, logging in and out, and error handling. I start with a review of PHP security in general, and then make that discussion concrete with specific coding examples.
PHP Security Overview
I start by reviewing the important PHP security ...