Phil Sturgeon

Web developer, kayaker, outdoors madman and part-time alcoholic.


"CodeIgniter" articles

How to: Multi-site CodeIgniter Set-up

A few people have asked me recently about setting up CodeIgniter to run accross multiple domains based on the same codebase, so here are a few tips on how to get this working on your CodeIgniter set-up.
Read More »

Posted: Jun 22, 2009 


REST implementation for CodeIgniter

There have been 1 or 2 RESTful implementations for CodeIgniter  so far, but none of them have been flexible or clean enough. This is the first publicly available RESTful implementation for CodeIgniter. Read More »

Posted: Jun 03, 2009 


Debugging ActiveRecord queries in CodeIgniter

When you have an ActiveRecord call that just will not work, it can be a pain. To save asking questions on the CodeIgniter forums that you could answer yourself, try these steps. Read More »

Posted: May 29, 2009 


CodeIgniter & Canonical links

I have recently starting using Google Analytic's to track this web-site and as such I have suddenly started to care about improving its SEO while creating Google Analytic friendly URL's. Read More »

Posted: May 19, 2009 


Access CodeIgniter helpers from Smarty templates

Smarty by default has lots of useful functions - or modifiers - to help you modify your Smarty variables. Using this modifier, you can access any CodeIgniter helper in your view files. Read More »

Posted: May 17, 2009 


Watch CodeIgniter error's reported as they happen

How do you read your CodeIgniter error logs for your live site? Download them via FTP and open them up each time, scroll to the bottom and read? That sucks! Try tailing. Read More »

Posted: Feb 06, 2009 


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: Jan 29, 2009 


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: Jan 19, 2009 


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: Jan 12, 2009 


cURL 1 out on CodeIgniter

That title may be misleading but I just couldn't help myself... Puns aside, I decided it was time to write a nice clean cURL library for CodeIgniter to help with your automated browsing and remote page requests. Read More »

Posted: Dec 11, 2008 


<1234>