A PHP Error was encountered

Severity: Warning

Message: DateTime::__construct() [function.DateTime---construct]: Failed to parse time string (2009-01.html-01) at position 8 (h): The timezone could not be found in the database

Filename: controllers/news.php

Line Number: 72

January '09 | Archive | News | Phil Sturgeon
The nerdy adventures of...

Phil Sturgeon


My name is Phil Sturgeon and I program stuff in PHP & CodeIgniter.
I write about Linux, Git, jQuery and all sorts of other computery things!

Archive

January '09

How to: Support multiple production environments in CodeIgniter

Maintaining different configurations for CodeIgniter across multiple environments can be a pain. Find out how to support multiple config settings and create a instance-wide flag to let you know which environment is being used. Read More »

Posted in: Jan 29, 2009  Category: CodeIgniter


New design integrated

After a year of using my CMS' very boring default theme, Phil Sturgeon.co.uk now has a beautiful new design. Read More »

Posted in: Jan 28, 2009  Category: PyroCMS


Comments fixed!

I noticed last night that comments once again have been broken, so stayed up late fixing them along with several other bugs in this CMS. Consider them fixed! Read More »

Posted in: Jan 23, 2009  Category: PyroCMS


How to: Clean username URL's in CodeIgniter

The URI segment system in CodeIgniter is a very handy thing, but sometimes not flexible enough to handle all your URL needs in one go. To have URL's like http://example.com/username and still maintain normal URI segment structure, read on. Read More »

Posted in: Jan 19, 2009  Category: CodeIgniter


How to recover files in Eclipse

Accidentally deleted your working copy/local files and Ctrl + Z just won't get them back? Find out how to recover almost any file using Eclipse's built in history/version tracking feature. Read More »

Posted in: Jan 13, 2009  Category: Eclipse


New service launched, CodeIgniter Web Hosting

While there may be many hosting solutions out there, how many of them are designed for CodeIgniter developers? Now the users have one! Read More »

Posted in: Jan 12, 2009  Category: CodeIgniter


DateTime objects - Start month, end month, first Monday, etc

Throw away strtotime and date() and check out PHP's funky DateTime objects for much greater control over your dates. Read More »

Posted in: Jan 12, 2009  Category: PHP