Archive for April, 2009

PHP 5.1.4 and Apache Problems

Thursday, April 30th, 2009

I know, I am behind the times. PHP 5.3 is almost ready for prime time, but I was still using PHP 5.1.4 I was having some major issues with Apache recently, although I don’t think it was Apache that was the problem. I wasn’t able to diagnose the problem, but I believe connections to […]

Zend_Paginator and Zend_Paginator_Adapter_Null

Sunday, April 19th, 2009

I have been playing around with Zend_Paginator a little more, and came across a use case where I didn’t want the Paginator to manage the data, i.e. I was feeling lazy and didn’t feel like writing a custom adapter. You can use Zend_Paginator_Adapter_Null to manage the pagination controls and simply pass in the total number […]

Zend_Paginator

Friday, April 3rd, 2009

I needed some pagination for a website I am building, so I took a look at Zend_Paginator. It is pretty straightforward and easy to use, especially if you are using the rest of the framework. The code below assume the class Foo extends Zend_Db_Table_Abstract, and grabs a Zend_Db_Select object from the table to pass in […]

World of Warcraft Accounts

Thursday, April 2nd, 2009

I can’t claim to be a hard core gamer. I grew up with an Atari, Nintendo, Sega and then Playstation in college. But ever since graduating college, I have rarely played games. With the exception of Rock Band, which I played occasionally at my former employer - nothing like sneaking a few songs in during […]

PHP Web Hosting

Thursday, April 2nd, 2009

I have a dedicated server running a bunch of sites, but recently I needed to set up a site for a friend and didn’t want to put it on my server. I find recommending a hosting company is sometimes preferable over using my server. That way, when SPAM starts getting into the email account, or […]