Archive for the ‘Web’ Category
jQuery Document Meta Plugin
Got some persistent variables you want to pass from the server-side into your jQuery application? If you’ve got lots of complex data then you probably want to pull it in as JSON data, but for a handful of scalar variables it can be nice to just output them in the document head as meta tags.
<meta [...]
PHPMailer Bug: Headers showing in message body
PHPMailer is a handy little class which smoothes out the minefiled that is sending email with PHP. Okay, it’s not exactly difficult, but it’s not always striaghtforward either.
I did come across a niggly little bug in the latest release (2.3 at time of writing) which causes a large number of mail clients to incorrectly parse [...]
How to Install cURL support under Uniform Server 3.5 Apollo
Uniform Server 3.5 Apollo is an excellent environment for those of us who, for whatever reason, use Windows for PHP development. Unforunately it comes without cURL support. After a bit of digging I figured out (i’m no linux sysadmin) how fairly simple it is to get cURL up and running with uniserver.
The following assumes that [...]
Protocol Relative URLs
Remember the first time you realised that URLs could be relative? Did you know that they can be protocol relative too. I’m not ashamed to say that I didn’t. But, what do I mean by protocol relative?
Essentially a protocol relative URL will request external resources such as images and scripts in the context of the [...]
Encouraging IE6 Usage Trends
By this time next year, if IE 6’s usage pattern continues to match that of IE5, IE6 will be around 13% – iedeathmarch.org
In my opinion a 13% market share is still too high to drop IE6 support completely for anything intended for consumption by the general public. Let’s not forget that the majority of computer [...]
Pages Redirecting to a 404 Error Only in Internet Explorer
This one had me stumped. The control panel for our CMS worked fine, just as it had been since, well since forever. The problem was that when visited with Internet Explorer users were now being presented with a brief flash of the login page followed by a 404 Not Found error.
After repeatedly pummeling my desk [...]
Advice for Budding Web Developers
The following guide came about after I was tasked with transferring my Web Development expertise into two VB developer colleagues. No mean feat in the one month I have left at my current place of work. Ultimately it’s possibly a futile task, but it’s worth a shot.
Web Development is not just collection of related technologies. [...]
Full UK Postcode Database for Free
Update: April 2010
This post was originally publish in 2008. Things have changed. a lot. Read on.
Ordnance Survey have open sourced a huge chunk of their data. This hasn’t been widely publicised , but the full set of geodata for all UK postcodes is available for free from OS OpenData. For geocoding UK postcodes it’s the [...]
An IE7 Bug That Returns MSIE 6.0 User Agent String
IE7, don’t you just love it? What they gave us with one had in terms of CSS actually sort of working they took away with some of the stupidest niggly little bugs ever. Here’s another potentially large one i’m stumbled right into recently.
If your user agent string is more than 260 characters in length then [...]
jQuery ui.tabs, Themeroller and .ui-tabs-nav-item
There currently an inconsistency between the jQuery UI tabs plugin and the CSS generated by Themeroller
The CSS includes rules for “.ui-tabs-nav-item” but these classes are never added to the list items by the plugin. Because they are unnecessary.
Simply changing the rules to “.ui-tabs-nav li” they way they should be brings it all into line again. [...]

