My name is Aidan Lister. I am a professional web developer working primarily with PHP. I am an author of the PHP documentation, and a PEAR developer.

This personal blog discusses what's hot in web development, programming concepts and solutions, and my code repository.

Read more at my about page »

Retrieve time from an NTP server

Posted on February 14th, 2010 in Code Repository | No Comments »

ntp_time() allows you to quickly retrieve the time from an NTP server as a unix timestamp.

Read the rest of this post »

Dealing with human readable network addresses

Posted on October 18th, 2009 in Housekeeping | No Comments »

network_expand_range() and network_compact_range() allow the expansion and contraction of IP addresses or ranges as human readable input.

Read the rest of this post »

Executing a callback for all files in a directory

Posted on June 17th, 2009 in Programming | No Comments »

directory_walk allows running an arbitrary callback on all files in a deep directory structure.

Read the rest of this post »

Why I’ll never eBay again

Posted on June 16th, 2009 in Housekeeping | 7 Comments »

I listed my old Macbook Pro 15″ laptop for sale on eBay today. I paid my fees. I reviewed my add. I was happy for about 6 minutes, until I received a barrage of emails notifying me my account was suspended for “abuse” of their terms and conditions.

My account was locked down, leaving me unable to even log in to respond to the situation! All my bids on other items were revoked. Is this what online selling has become? If so, no thanks.

Read the rest of this post »