Over the holiday break, I took the plunge and migrated my businesses email service over to Gmail, using Google Apps for Your Domain (GAFYD) Premier Edition for businesses. For $50 per user per year, a 99.9% SAL, 25 gigs of space, extra bad-ass spam filtering, virus protection, backups, etc. I figured why the heck not.
Modifying [...]
Use Terminal to Find and Create a Textmate Project
I’ve been spending more time than usual using the Terminal, and I like how quick it to get around the file system. Today, while messing with the linux find command, I started to wonder if I could search for a folder, and then open it as a project in TextMate, all with a one line [...]
phpMyAdmin: Bypass File Upload Size Limit
When you want to import a large SQL query in phpMyAdmin, you can run into problems as the default upload size limit is restricted by whatever it is in the php.ini file - and often, you cannot change this or simply don’t want to. It tends to default to a measly 2MB.
However, there’s a feature [...]
Narrowing Your Google Search Results
Using a few simple tricks, you can help trim down those enormous search results in Google to locate what you are actually looking for.
Using “Go to Symbol” in a Texmate CSS File
CSS files have a tendency to get unruly - I feel like I’m always scrolling up and down the file, even when I have it nice and organized by section, just to find a section. Sure, sometimes I bring up the Find dialog. Using the keyboard shortcut of Apple+f is handy enough. But when I [...]
Drupal Poll Module’s Annoying 128 Character Limit
I’m working on a project that is giving me some hardcore Drupal experience, and in general I’m liking Drupal quite a bit (more on this when the project is finished though).
Anyways, even though I’m working with Drupal 6, there seems to be some legacy code from older versions in place - among them the 128 [...]
Sending a 301 “Moved Permanently” Header with PHP
Using these 2 handy-dandy lines of PHP code, you can easily redirect both people and search engines to a web page’s new location. By doing it this way, you not only make life easier for your site’s visitors, but also let search engines know that they should update their records about the move.
Generate Javascript Files with PHP
There are times when you might want to fetch stuff from a database using PHP and then spit out a JavaScript file. For example, many image slideshows are controlled by javascript - but what if the image references are stored in MySQL? You can use PHP to fetch the info, and then include the javascript/php [...]
I’m Still Here!
I haven’t had a new post in awhile, so I just wanted to drop a quick “hello!” and let folks know I’m still alive! It’s just been an incredibly busy summer for me. I’ve been working too much, traveling, working on the house, gigging (I play drums), seems everybody I know is getting married, etc. [...]
So Your PHP Error Reporting is Off
If you’re working with crappy web host, you might notice that you’re getting a lot of blank PHP pages. This is likely due to PHP’s error reporting being completely turned off - here’s a fix.