Archive for the ‘PHP’ Category

Make a frisbee (or any other object) fly across your webpage

Sunday, March 30th, 2014

I help run a community Ultimate Frisbee club in Manchester. I've just changed our design to make it responsive (mobile, tablet and desktop friendly) whilst aligning it to our "brand" colours and identity. Unfortunately it looked a little bit bland - we all thought it needed a bit of fun ...

WordPress Redirects Incorrectly After Deployment to New Server

Monday, February 11th, 2013

If you like to use different ports (I do) for development locally then you might find when deploying a Wordpress site live it tries to redirect to http://www.mysite.com:8080  or similar.  You can't fix this in the admin interface as that redirects too.   To fix this you need to run some SQL ...

PHP date function – output a friendly UK style date with ordinal date suffix and ‘hrs’ suffix on time

Saturday, April 14th, 2012

This post is more to remind me in the future but perhaps someone else will find it useful? I like the UK date format - I like to fight the Americanism of not using the ordinal suffix and I also like 'hrs' on 24-hour clock times. Sun 18th Mar 19:00hrs

Create 100 different images Containing a Number – The Image Equivalent of Lorem Ipsum

Thursday, March 15th, 2012

Often I get asked to design things which require displaying of products and I don't yet have the images.  I've written a script to do just that.  If you're not a PHP coder and don't want to tweak the code and run it yourself bug  just want a zip with 100 ...

Moving PHP Solutions from Windows to Linux

Saturday, December 17th, 2011

I'm currently building a ticketing / holiday booking application in my spare time in PHP / MySQL.  When I started in PHP I used Linux for my development platform because my laptop ran, the rather terrible, Windows Vista.  I've since upgraded to Windows 7 and find myself using this instead ...

Zend PHP 5 Certified Engineer

Wednesday, September 17th, 2008

Just before I went on holiday I become a Zend PHP 5 Certified Engineer. This involved taking a PHP 5 exam and quite a bit of revision.  I found it really useful as it made me cover areas of PHP that I hadn't yet used and re-enforced a lot of OO ...