I’ve been working with a couple of command line tasks over the last couple of days using PDO MySQL connections and ran across a problem where PHP on the command line could not connect to MySQL’s default socket. It’s a busy discussion on Google and there seem to be a lot of garbled listings when you google this so here’s my 2 quid.
Read More »
I’ve been working on a site that requires a random banner to be selected from a list of banners. In this case the banners needed to be both manageable via the WordPress Admin and contain whichever media type the client should see fit to use. One of the new features in WordPress 3 allows you to add custom post types, which means you can create a banner post type to use as required. Read More »
Working in OSX can be a grinding experience for developers with assistance from the OS when you’re running a development machine. One of the niggles for me was having to enter user names and passwords when you start and stop services running on lower port numbers.
Read More »
Hidden files in OSX have been an issue for developers using version control for an age now, and there have always been solutions to the problem in the form of third party applications or the command line.
Read More »
One of the most impressive ways to present content heavy site searches I’ve seen on the web is using dynamic search boxes that suggest results to you before you’ve even finished typing your search phrase, and it’s not a massive job to implement. Read More »