Using the model-view-controller approach is a great way to organize your code and keep logic separate from presentation, but depending on the framework you use,…
MySQL emptying a table
Just a quick MySQL optimization note. Many times we're required to clear a database table and reset the auto increment counter. This is common with…
Firefox versions – what happened to minor releases?
I'm sure Mozilla Firefox fans have taken notice that Mozilla has released two major version releases of Firefox in just the past few months. Did…
Tracking anonymous users
Let's face it, having to create an account is probably the number 1 reason that users avoid doing anything trivial on the web. By trivial,…
cfqueryparam in order by, group by, etc
I've seen quite a few posts on this, many come to the same conclusion that using a (possibly length) switch statement is the best way…
IE 9 jQuery issue – getElementsByTagName
If you're testing your jQuery code in IE 9, you might run across the "Object doesn't support this property or method – getElementsByTagName" error. The…
Remote Host Address returns 127.0.0.1
So you're trying to track your users IP for one reason or another, but a glimpse at the REMOTE_ADDR server variable always returns localhost or…
SEO Friendly URLs with Regular Expressions
If you're creating dynamic pages from a database, you've probably heard the buzz about SEO friendly URLs. There's a little more work involved than simply…
jQuery CSV Export
Is it possible to do a CSV export with pure JavaScript? Close, but you still need the help of a server-side script to tell the…
A basic draggable photo cropper
If you have user generated photos, and wish to crop them down to a thumbnail, it's not always easy to decide which area of the…