Decoding byte-escaped \xFF strings in PHP
Friday, 31 Jul 2009I came across a multi-byte (UTF-8) string this week, that was encoded by the single-byte escaping \x, for example:
His nickname was \xE2\x80\x98the Angel\xE2\x80\x99,
which is kind of a clich\xC3\xA9 in my opinion.
Which represents... » read this
Bundling Javascript
Wednesday, 25 Mar 2009Javascript is becoming increasingly popular. Frameworks like jQuery, MooTools and Prototype/Scriptaculous have opened up a wide array of possibilities to webdevelopers. As a result, many webpages depend on a series of Javascript source... » read this
- 5 comments
- posted in: performance mootools javascript php webdesign
Compiling PHP Zip module for OSX
Wednesday, 10 Dec 2008After spending way too much time figuring out how to add modules to existing PHP installations on OSX, I realized this should be worth sharing. The procedure below works on Leopard, but should work on Tiger just as well (just not tested).... » read this
- 2 comments
- posted in: osx: leopard php
The (non)sense of PHP "magic quotes"
Thursday, 30 Oct 2008This article will discuss the headache-giving "magic quotes" feature of PHP, which will be removed in PHP 6. I will highlight the idea behind it, explain how it exactly works, the problems it creates for developers, and finally:... » read this


