Upgrading GoDaddy Hosting to PHP 5.x from PHP 4.3.11

How to configure your GoDaddy linux hosting plan and .htaccess file to run your *.php pages on PHP 5.2.5.

A collection of PHP code snippets

This is a collection of php code snippets that seem to come in handy rather often. They are assembled here more for my own organization than anything else.
String: trim and convert to lowercase
A very straightforward but useful snippet. A string is first trimmed of any leading or trailing white space, and then converted [...]