Running PHP4 and PHP5 in Parallel, The Easy Way

Thumbnail image for Running PHP4 and PHP5 in Parallel, The Easy Way

If you need to run different versions of PHP in your daily development environment, I’ll show you how to do it quite effortlessly. The main reason you might need this, is to test compliance with older PHP versions. Running PHP4 and PHP5 together isn’t as hard as you may think.

0 comments Read the full article →

CodeIgniter htaccess

Thumbnail image for CodeIgniter htaccess

This is the .htaccess file that I use for my CodeIgniter PHP projects (some of these .htaccess rules can be used for any project, keep reading). CodeIgniter uses mod_rewrite to route all requests to the CI front controller. I’ve made some additions in an attempt to canocalize some of the CodeIgniter URL end points. The key benefit of a canocalized URL is that your search engine page ranking (page juice) is not spread across several pages, but instead, targeted to a single page.

19 comments Read the full article →

Top 5 NetBeans Features to Help You Become Instantly Productive

Before I get started, I’ll preface this with the fact that, I have been using the NetBeans IDE for a little less than 6 months; but for that period of time, I have grown to like it very much. These are the top features I have found which allowed me to become instantly productive.
Line Duplication [...]

0 comments Read the full article →

jQuery Image Preload Plugin

I needed a jQuery img preload plugin in order to detect when an image had actually loaded. The scenario basically went as follows:
I had several images and content layered on top of one another and I needed to have them all visible. The problem I ran into was that as the browser loaded the images, [...]

13 comments Read the full article →

Saving Form Data to Google Spreadsheets Using PHP and the Google Docs API

The general idea is to read a Google Spreadsheet through PHP and save user submitted form data via the Google Documents List Data API. By doing this, you can quickly view all the submissions at a glance and you are also able to export CSV files of the data. Using Google Docs gives you and [...]

51 comments Read the full article →

Resolving NetBeans and Subversion Issues

Basic instructions for maintaining a functional setup between NetBeans and SVN (Subversion). In a nutshell; why my upgrade to Subversion 1.6.2 did NOT work.

2 comments Read the full article →

How to access SSH and other services from a VirtualBox Guest Machine

It seems as if by default a VirtualBox VM (Virtual Machine) will start with a network connection set to NAT. This makes it a little difficult to connect to server services running on the VM (such as SSH, Apache, etc). An easy solution is to use the Host Interface directly as described here.
If you have [...]

0 comments Read the full article →