Php (16 posts)

View other categories: all categories

Building a PHP development server from scratch

The other day my dev server completely died, this was rather inconvenient to say the least. 24 hrs later and my new (excellent, very quiet, powerful but only consuming 150w) HP 54L Proliant …

Debugging with PhpED and DBG

As a long-term PhpED user, I've always been well aware that I was not making the most of some of the more powerful features of my IDE, particularly the debugging capabilities. Well this week I finally …

Setting PHP error reporting from a vhost or .htaccess

Here on our dev servers, we turn PHP error reporting full on so we get to know of any issues with our code well before it hits production (where errors are turned off). This does, however, cause …

Symfony's most popular plugins

Francios a core member of the Symfony team recently blogged about the 20 most popular plugins of the Symfony project based upon page views. That list is: sfSimpleCMSPlugin sfGuardPlugin …

Remote PHP debugging

After 8 or so years of being a professional web developer I today finally cracked using a debugger with PHP. I've been a long suffering PHPEdit user from since it was open source and into having to …

Emulating PHP's substr() with Smarty [sort of]

Today I had a requirement to strip off the first 9 digits from a string from within a Smarty template. The system using Smarty is totally locked down so no access to plugins or using …

Wordpress spam plugin

After getting over 200 comment spams in 2 days I decided to implement an automatic spam blacklist system as manual parsing wasn't cutting it any more. Akismet seems good: We can’t stand spam. Who can? …

Using the Zend Framework - Part 1

Edit: Sorry I never got around to finishing this, there's only 2 parts of 3. For the past few years I've not really learnt anything new PHP dev-wise, mainly because I've been getting on with the task …

WordPress Widgets

I'm a developer, I don't mind - in fact, no, I like - coding but when it comes to doing stuff on my own site I'm rather hesitant and I prefer things that Just Work out of the box. I installed a new …

Installing a new WordPress theme, K2

If you've installed Wordpress in the past then you will have seen the Kubrick theme. A lot of people who use WP end up keeping the original theme as it looks good, for example Cathie has done just …