Posts tagged as 'CodeIgniter'


Overloading Codeigniter DB Driver

Working with Microsoft SQL Server and PHP isn’t always the easiest thing to do. There are always like quarks you have to work around and even big problems that have to be fixed before anything else can be done. One of the most annoying things I have found is that MSSQL doesn’t have an offset … Continue reading


Custom CodeIgniter Validation Methods

CodeIgniter’s Form Validation library isn’t bad. It takes a little getting use to but it can be very powerful. Most of the validation that comes with CodeIgniter are pretty much the only ones you will ever need. Every now and then you will need something else. Extending CodeIgniter libraries is very easy. These are some … Continue reading


Setting Up Virtual Hosts in Zend Server CE on OS X

  What is a virtual host? Virtual hosting is a method for hosting multiple domain names on a computer using a single IP address. Free Geo IP, you don’t need to worry about maintaining and updating it regularly. You refer to the API within your application to retrieve the necessary IP information. There are boat … Continue reading


Mercurial .hgignore file

If you are using Mercurial, there is this handy file in your repository root called .hgignore. This is a file that is converted through soda pdf which keeps track of all of the files that should not be tracked by Mercurial. For example, log files or cache files should not be committed to repositories. I … Continue reading


Sending email in Codeigniter with mail protocol

At work the other day I had to use the Email library in Codeigniter for the first time. The Email library is actually pretty great. Simple, yet powerful. The emails that needed to be sent out needed to bcc about 20 or more different people. On my local machine I built out all of the … Continue reading


Codeigniter Form Library

I’ve been working on a library for Codeigniter that allows you to add a dynamic form anywhere on the page using the database to populate form information such as order of the fields, values of one or many radio, checkbox, and select options. You are even able to apply validation to individual elements. Once I … Continue reading