Added sample code for php < 5.3.0
Added link in the main readme