Tuesday, January 27th, 2009
I found this gem today.
$special = str_replace(",,,,",",",$special);
$special = str_replace(",,,",",",$special);
$special = str_replace(",,",",",$special);
Pretty sweet.
Posted in shitty code | 2 Comments »
Wednesday, January 21st, 2009
In our dev environment, we use VirtualDocumentRoot to avoid configuring new environments when we get a new developer. It's awesome.
However, if you try to use mod_rewrite, you'll find that your rewrite rules will prepend whatever you have defined as the document root in the config file. To get ...
Posted in apache | No Comments »