50 States Programming Puzzle

Anders Pearson posted an interesting programming puzzle today on Thraxil.org: Take the names of two U.S. States, mix them all together, then rearrange the letters to form the names of two other U.S. States. What states are these? He found out about it from Mark Nelson who, in turn, heard it on NPR. It’s not […]


Categories
PHP

How to Enable PHP5 In Mac OS X Leopard

I’ve seen a lot of visitors searching for information on enabling PHP5 in Mac OS X Leopard. It turns out to be quite easy. Leopard ships with Apache 2 and PHP 5 pre-installed. To enable PHP simply: Open your favorite text editor and edit /private/etc/apache2/httpd.conf Uncomment line number 114. It should read LoadModule php5_module libexec/apache2/libphp5.so […]


Categories
macOS PHP

foo9 URL Shortener

I was out of town for a couple days last week and had a lot of time to kill at my hotel. Needing something to do I decided to write my own URL shortening service. This is hardly an original idea – TinyURL.com has been around for a long time. Newcomer url(x) is great, too. […]


Categories
PHP