Section IV
Preventing Problems
- Lesson 16: Handling Errors
- Lesson 17: Writing Secure Code
You want a program that runs smoothly. To do that you need to minimize the errors that can occur and handle gracefully errors that do happen.
In the first lesson in this section, you learn how to test for possible errors so that you can fix the problem, bypass it, or gently inform the user. You learn how to set up PHP to monitor for specifi c error conditions and react to them. In the second lesson, you learn how to secure your code against malicious people.