Wednesday, 7th January 2009.

Posted on Wednesday, 26th November 2008 by Lee

There are bunches of examples on how to delete non-empty directories in PHP but none of the examples that I've seen take advantage of PHP5's RecursiveDirectoryIterator which makes this an almost trivial task. If you haven't already, please check out the SPL Standard PHP Library Classes. I keep a class of static utility functions and [...]

Posted in PHP | Comments (1)

Posted on Monday, 3rd November 2008 by Lee

I just discovered a significant "gotcha" debugging some code today. Judging from the comments on a variety of blogs and forums I think many of us have had this question. To cut to the chase, if you aren't getting your last insert id returned when you do a Zend_Db_Table insert, make sure that the array [...]

Posted in PHP, Web Development, Zend Framework | Comments (1)

About