David Goodwin

A week of fire fighting (aka why you should
17 Feb 2012 2:47pm GMT I feel like I’ve spent most of this week debugging some PHP code, and writing unit tests for it. Thankfully I think this firefighting exercise is nearly over. Perhaps the alarm bells should have been going off a bit more in my head when it was implied that the code was being written in a … Continue reading »

Automated twitter compilation up to 24 January 2012
24 Jan 2012 4:30am GMT Arbitrary tweets made by TheGingerDog (i.e. David Goodwin) up to 24 January 2012 A cache miss storm with WordPress and dotdeb.org’s config file overwriting led to a crap day for one website today. (2012/01/24, Bromsgrove, Worcestershire) Someone said I have a bad memory. I’m not sure who though. (2012/01/22, Bromsgrove, Worcestershire) Hockey: Bromsgrove 3xi 3:2 … Continue reading »

exim + spamassassin subject rewriting on symbiosis
30 Dec 2011 10:29am GMT One customer of mine has an Bytemark Symbiosis based exim mailserver which uses SpamAssassin. It works pretty well – however the : rewrite_header Subject *****SPAM***** directive in spamassassin (/etc/spamassassin/local.cf) seemed to be being ignored – and the only effect of the mail being classified as spam is/was a couple of additional headers added (X-Spam-Status: spam). … Continue reading »

State of the union – sort of (my 2011).
23 Dec 2011 9:02pm GMT Well, perhaps not quite a State of the Union Address, but here’s a random update on my life in general which perhaps sums up the last year (as we’re almost at the end of the year, it’s probably fitting I somehow, somewhere write something like this). My children (Rowan and Anya) are both growing up … Continue reading »

SQL Injection with added magic_quotes assistance (the joys of legacy code maintenance)
8 Dec 2011 2:18pm GMT   Sometimes you really have to laugh (or shoot yourself) when you come across legacy code / the mess some other developer(s) left behind. (Names slightly changed to protect the innocent) class RocketShip { function rahrah() { $sql = "insert into foo (rah,rahrah,...) values ( '" . $this->escape_str($this->meh) . "', ...... )"; mysqli_query($this->db_link, $sql) or … Continue reading »

1 2 > 

© dotMobi 2007-2011. All rights reserved