Posts tagged ‘php’

Google Reader export to bookmarks.htm

by on November 3, 2011


I was one of the small group of Google Reader users who actively used the sharing functionality before Google killed it with their latest upgrade. While the number of people I shared with was small, the quality was incredibly high. I don't blame Google ...

Update on Rolling Curl

by on May 21, 2011


Back in 2009 I blogged about using curl_multi() in PHP without blocking. The goal was to provide a better way to process multiple HTTP requests in parallel. The code was well received and I ended up turning my original snippet of code into a full blown ...

Splitting names

by on August 17, 2009


You can find the latest version of this code on Github. There are libraries for both PHP and JavaScript. The quest I'm on a ongoing search to find the best algorithm for splitting a full name into a first name and a last name. I'm sure this sounds ...

How to use variable variables in PHP

by on May 31, 2009


One of the biggest time-savers in PHP is the ability to use variable variables.  While often intimidating for newcomers to PHP, variable variables are extremely powerful once you get the hang of them. Variable variables are just variables whose names ...

How to use curl_multi() without blocking

by on January 26, 2009


You can find the latest version of this library on Github. A more efficient implementation of curl_multi() curl_multi is a great way to process multiple HTTP requests in parallel in PHP. curl_multi is particularly handy when working with large data ...

How to detect the RSS feed for a blog

by on June 28, 2008


Every wondered how to automatically figure out the RSS feed for a blog? Generally speaking, it's a simple task -- just download the HTML for the given blog and use a fancy regular expression to find the associated RSS feed. In PHP, it looks something ...