Top 5 PHP Regular Expressions for Web Developers

Monday, April 12th, 2010 | PHP | 0 comments

There’s no doubt about it, regular expressions are flippin’ awesome. Here, I’ve compiled a list of five user-defined PHP functions that I use regularly when developing back-end applications. All of these functions make use of regular expression matching.

Read More →

Set Elements to Equal Heights with jQuery

Sunday, April 11th, 2010 | jQuery | 0 comments

Here’s a quick jQuery plugin I put together for equalizing the heights of multiple elements. You give the plugin a list of elements, jQuery then loops through the specified elements, finds the tallest, and sets the height of each element to the tallest one.

Read More →

Find and Replace with MySQL

Sunday, April 11th, 2010 | MySQL, PHP | 0 comments

A long long time ago, when dinosaurs roamed the earth, I had a client that had written all of her pages’ text in Microsoft Word, and pasted them directly into her content management system. This resulted in over 50 pages of content that would display nasty characters in some browsers.

Read More →

Getting Started With mod_rewrite

Saturday, April 10th, 2010 | .htaccess | 0 comments

What is mod_rewrite?

First of all, let’s get things straight: mod_rewrite is your friend. It is also an Apache module that rewrites URL’s at the server level. If you’re reading this, I’m going to assume you’ve already enabled mod_rewrite on your server. If not, there’s plenty of tutorials to show you how to enable it. All set? Okay, let’s go!

Read More →