Must be nice, actually. What part of CO? We like to go to Summitt (sp) county and ski at Copper and Breckenridge. We usually stay in Frisco.

I like the auto-test code above - yeah, basically I'm going to use defines in a config file and turn test on and off like a switch, but with your method, you can set it up automatically.

Speaking of Error handling, I've been reading a lot on classes and more object oriented approach to PHP, but haven't been able to take it really past a point that I use classes constantly and abstract classes, etc. I'm trying to "classify" some of my old code as I am needing to add some additional features. Error handling hasn't been one of my strong suits, but the try, catch, throw blocks seem a really useful feature. However, everyone has a different way to do error classes.