Creating a PHP-Based Content Management System, Part 4
October 8, 2004[From Intranet Journal]
When Keats wrote "There is not a fiercer hell than the failure in a great object," he probably wasn't referring to the objects that make up the content management system we've been developing in this series. A testament to his forethought, if a component of our system fails then it won't be a good thing, which is why this month we'll be adding some rudementary code for validation and error handling. We'll then go on to creating the categorization system for articles stored on the system.
There are two main reasons for validating a user's input, the first being security. Let me give you a quick example of how things can go wrong.
The article continues at http://www.intranetjournal.com/articles/200410/ij_10_08_04a.html