Archive for the ‘PHP’ Category

March 31st, 2009

PHP is_numeric() vs is_int()

12 Comments, PHP, by Donncha.

Some lessons you don’t forget, but this one I did because it doesn’t come up very often.
Don’t use is_int()…

1800 seconds is such a long time, right?

It’s 30 minutes.
It’s 0.5 hours.
It’s 0.0208333333 days.
It’s also 5.70397764…

While looking through this WordPress performance post I realised that eAccelerator might not be running properly on this blog. For…

August 18th, 2007

Notes when upgrading to PHP5

14 Comments, PHP, WordPress, apache, by Donncha.

I upgraded one of my servers to PHP5 this morning. Two things to watch out for:

The location of your…

A friend recently had a problem configuring a new server. He installed PHP, Apache, MySQL and phpMyAdmin but when he…

October 1st, 2006

Killing off PHP

12 Comments, PHP, WordPress, by Donncha.

Do you know why Apache processes get stuck and stop responding when serving pages on a Wordpress site?

I’ve seen this…

August 29th, 2006

Gzip Compression or No?

15 Comments, PHP, Web, apache, by Donncha.

mod_gzip, zlib.output_compression or whatever way you compress your web pages is a great way of reducing your network traffic costs…

July 24th, 2006

Five common PHP design patterns

No Comments, PHP, by Donncha.

Over at IBM Developer Works there's an interesting article on PHP patterns. If you've never come across patterns before it's…

Andrew van der Stock’s criticism of PHP’s security model. What security? Global request arrays go some way to making applications…

October 11th, 2005

Writing Scalable Applications with PHP

No Comments, PHP, by Donncha.

Linux Journal’s Writing Scalable Applications with PHP article makes a bold claim which some of the comments on it disagree…


Holy Shmoly! is Digg proof thanks to caching by WP Super Cache