Archive for the ‘ Code ’ Category
This is an issue that has plagued me for months and months, and I finally found a way around this VERY strange bug. For some reason, exporting a database from phpMyAdmin inserts garbage after EVERY LINK in the database content. So if you have a database row with <a href="mylink"> in the data, it will end [ READ MORE ]
It seemed so simple, yet it took forever to figure this one out. I’ve been using CakePHP for several projects lately, and I’m really enjoying using it. But much of the documentation is lacking. Luckily there are plenty of blogs detailing the progress of this framework and what can be done with it. But I [ READ MORE ]
When moving our site from ablogapart.org to michaelkrol.com, this handy little bit helped move our entire website with four lines of code: Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^(.*)ablogapart.org [NC] RewriteRule ^(.*)$ http://michaelkrol.com/$1 [R=301,L] This reference was extremely helpful. This RewriteRule lives in the .htaccess file at ablogapart.org and tells any request coming in to that domain to swap ablogapart.org out [ READ MORE ]
Today, out of nowhere, we started receiving reports that HTML email the gdiapers.com site was sending were showing up as just that: HTML code and not much else. Running a few tests confirmed these reports… but only in my gmail account. We went back and checked the reports and sure enough – they were all [ READ MORE ]