Posts tagged as 'Tips/Tricks'

2012
26
Feb

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

2011
06
Nov

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

2011
19
Sep

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

2011
17
Sep

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

2011
18
Jul

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. Shared hosting uses this same method for all of the sites they host. Aren’t those URLs you use in Zend Server getting pretty ugly? Would you like to change http://localhost/my/awesome/website into http://www.super-awesome.local … Continue reading

2011
16
Jul

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