Author Archives: Matt

Dedicated Servers – What You Might Not Know

Five years ago I happily procured a dedicated Red Hat server from a very popular managed hosting company (if not “the” company). I did this mostly out of convenience for my clients, who would always call me with hosting issue … Continue reading

Posted in Uncategorized | Leave a comment

The Evil of All Image Newsletters

I sometimes have designers give me a newsletter that’s about impossible to render well as html, other than slicing the entire thing up as images and putting it in a table. This often happens with print designers trying to do … Continue reading

Posted in newsletter | Leave a comment

Finally, A Great HTML Parser for PHP

I’m blown away by the PHP Simple HTML DOM Parser. It’s like Beautiful Soup, the Python HTML/XML parser, but for PHP and has some nice jQuery-like syntax. It also seems just incredibly fast, but maybe that’s also because I’m better at … Continue reading

Posted in General Code, PHP | Leave a comment

Linux: Get Current Directory Size in MB

I forget this every time, so am posting for myself as well as others :) On the command line, simply change into the directory you want the size of, and the following command will return the size of the directory … Continue reading

Posted in Linux | Leave a comment

Drupal 6: Redirecting the User Destination After Registration

Scenario: An unregistered user visits a page that only logged in users can visit. Say it’s this page: http://www.your-site.com/protected/page Drupal throws up the login form, but the URL above remains the same – good as we’re going to use that. … Continue reading

Posted in Drupal | Leave a comment

Tweaking Drupal Date-Popup Format in an Exposed View

* Note this entry only pertains to the Date-Popup boxes when used in a Views filter, not a regular node-based form. Today I needed to change the format of the date-popup box on an exposed views filter. It normally defaults … Continue reading

Posted in Drupal | 1 Comment