Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Error Handling, Weekly Summary, and Templates
Apr 10, 2002 @ 12:55:42

New this morning is the second part of the Error Handling in PHP series from DevShed. In the first part, they showed you the functions they were going to use and explained them - even briefly how to use them to make a custom error handler. In this part, though, they introduce things like the trigger_error() function to call that error handler, and the error_log() function that (obviously) lets you write the errors to a log. And, of course, it wouldn't be complete without something fancy..output buffering with custom error handling tops it all off.

Also today, Zend has their newest Weekly Summary posted. Nothing groundbreaking in here - they do mention Apache 2 being released, a link to an examination of the Aggregate and Overload functionality, and a page you can recover that long-forgotten CVS password from.

And, last but not least today, we have an article from DevArticles.com that talks about making a site work with PHP and Templates. Their example takes things a step beyond the typical include() functionality and actually pulls some of the info from a database (and keeps track of things like hits and all). Templates can be a neat addidion to pretty much any site, really - I've gotten to the point where I make a layout, and then divide it up around the main content area and template it all with a header and footer (usually files, though).

tagged:

Link:


Trending Topics: