Quantcast
Channel: evertrooftop
Browsing all 13 articles
Browse latest View live

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 Article



What 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 Article

Numeric 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 Article

JavaScript'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 Article

iCalendar / 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 Article


Dropbox 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 Article

iconv_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 Article

Switching 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 Article


PHP 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 Article


sabre-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 Article

Google 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 Article

PHP 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 Article

Accessing 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

Browsing all 13 articles
Browse latest View live




Latest Images