Archive for December, 2009

Flushing CodeIgniter’s URI-based Cache (Part I)

CodeIgniter’s output caching mechanism — at least in my opinion — has limited usefulness. It can be used to cache the final payload sent to the user for a given number of minutes. But sometimes clearing the cache for all pages or a specific page can be useful, especially if keeping the user from seeing [...]


Insert Multiple Rows Into A Database with CodeIgniter

When using a spiffy web application framework like CodeIgniter for PHP, I tend to start depending on the framework for a lot of functions.
For example, if I want to get the segments of the URI, I first think, “CodeIgniter must have that!” If I want a function to convert input from a <textarea> into correctly [...]


Add Files to Subversion Recursively

Adding a directory and sub-directories to your subversion repo: I’ve seen some wacky solutions to this problem online, and a lot of people don’t know this is a built-in command (Google “add files to subversion recursively”).
Since CodeFury has been getting pretty high in the Google listings, I’ll post the real command. Hopefully subversion users will [...]