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 14. Error Handling

Even the most well-written script will occasionally encounter less than ideal circumstances. A database or ldap server may have crashed, a local file lock may have become stuck, or maybe that newly hired administrator got overzealous tightening down security and now your script can't access the data that it needs. Whatever the reason, errors do occur, and although PHP can recognize them, it's up to your script to decide what actions need to be taken so that your site functions as smoothly as possible and your users are encouraged to come back when the problem ...

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