Posts tagged as 'Tips/Tricks'


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


Add a digital signature to a PDF using Preview

Apple always builds all kinds of hidden things into their stuff. Today I had to sign a contract. The contract was sent over as a PDF. I really didn’t want to print it, sign it, and mail or fax it back or rescan it and email it back. I don’t have a scanner and I … 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


Cross Browser Support for inline-block in CSS

I’ve been using this method for cross browser inline-block displays for a while and thought everyone else knew about it too. One of my co-workers was shocked to find out they had been doing it wrong for so long. So I thought I would share it in case someone else didn’t know about it. Inline-block … 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


Installing Zend Server CE on OS X: A Guide For the Terminal Timid

I use MAMP Pro both at home and at work for development. It quick, it’s easy and I really don’t have to fiddle with it a lot after it is set up. It’s perfect for me. At work we have a project to be built with Codeigniter sitting on a Linux machine but we wanted … Continue reading