Archive for the ‘ Web Development ’ 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 ]
With the release of Leopard last Friday, it appears the bulk of my previous tutorials are now taken care of out of the box. mod_rewrite is enabled by default, and a decent (but not robust) installation of PHP 5.2.4 is ready to go – it only needs to be uncommented in the Apache configuration file. The [ READ MORE ]
UPDATE: This tutorial was written for OS X 10.4 and parts of it are no longer necessary with OS X 10.5. See this post for details. Using a few built-in tools in OS X, I’ve found a great way to develop sites as Virtual Hosts on Apache. If you are a web developer working on a [ 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 ]