Guidelines for generating XML
Over the last little while I've come across quite a few XML feed generators written in PHP, with varying degrees of 'correctness'. Even though generating XML...
View ArticleWhat happened to HTTP authentication?
Rant warningWe enter our usernames and password on pretty much all the sites we commonly visit. Authentication is probably one of the first things...
View ArticleNumeric string comparison in PHP
Although PHP's loose comparison type juggling tends to invoke some negative responses, I don't think it has really ever worked against me, and works quite...
View ArticleJavaScript's Escape and EncodeURI vs. PHP $_POST
I just stumbled upon an odd encoding issue with a web application. Basically, data is coming into our PHP application through a Javascript's...
View ArticleiCalendar / vCard parser for PHP
I've just finished an iCalendar vCard parser for PHP. It's done almost completely with a 'natural' simplexml-like interface, so it should (hopefully) be...
View ArticleDropbox client library for PHP
I enjoy using Dropbox. It is a very easy syncing and backup tool, and it works everywhere. A few days ago the developer API was released....
View Articleiconv_substr vs mbstring_substr in PHP
While working on an application I ran across a huge bottleneck which I isolated down all the way to the use of the iconv_substr function. If you ever...
View ArticleSwitching to PHP 5.4 on OS X
I like using OS X's built-in packages where possible, but unfortunately Apple is way behind with their PHP package, having it locked on 5.3.15. In the...
View ArticlePHP 5.5.0 released!
PHP 5.5 has been released! Quite exciting stuff, and pretty great to see the pace of new releases. Props to the dev team! Hopefully distros pick this...
View Articlesabre-event, a simple event management library for PHP 5.4
I just released version 1.0 of sabre-event, a simple event management library for PHP, heavily inspired by both nodejs' EventEmitter, and Igor Wielder's...
View ArticleGoogle Code is Dead
Last year Google announced they would no longer provide a 'downloads' feature on google code hosting for new projects. Starting January 15th 2014, creating new...
View ArticlePHP 5.5.10 Timezone Handling Changes
PHP 5.5.10 got released a few weeks ago, and among other things, it added some new functionality related to timezone handling. In short, this is now...
View ArticleAccessing protected properties from objects that share the same ancestry.
I realized something odd about accessing protected properties the other day. It's possible in PHP to access protected properties from other objects, as long as...
View Article
More Pages to Explore .....