Curl HTTP Client 1.2

Just put online new version of my Curl_HTTP_Client class. New version 1.2 is release with few bug fixes. New features are ability to send post string as string argument in send_post_data method, ability to accept gzipped content, close curl session etc.

You can download new version from here. For detailed list of features with some usefull examples please visit this blog entry.

Comments

  1. Dreammaker
    September 13th, 2008 | 7:39 am

    Thanx for class. I’ll use it in my project.

  2. Hal
    September 24th, 2009 | 11:40 pm

    Is this class open source? I notice you kept the copyright to yourself. You might want to add a license file to the distribution so it’s clear how you would like others to copy and extend your work, if at all.

  3. September 24th, 2009 | 11:43 pm

    Yeah I want it to be open source, just wasn’t 100% sure which licence to use. BSD perhaps? I want to give developers as much freedom as I can.

  4. March 17th, 2010 | 2:44 pm

    please add function for CURLOPT_HTTPHEADER option for using like^

    $opts = array(
    ‘http’ => array(
    ‘method’ => “GET”,
    ‘header’ => “X-Requested-With: XMLHttpRequest\r\n”
    )
    );
    $context = stream_context_create($opts);
    page = file_get_contents($url, false, $context);

  5. Helrunar
    December 29th, 2011 | 12:01 am

    I also want to ask about the license. I think, GPL sounds good, so i can use it in my module for Drupal ;-)

  6. December 29th, 2011 | 5:43 pm

    I think that I already explained that before. I want it to be available for everyone to use it in any kind of project (commercial or free). As far as I know that kind of licence is BSD not GPL but I was never good with licencing stuff :)

    Anyway you’re free to use it in any kind of project as long as you keep credits. And btw very soon I am going to (finally) publish php 5 version (although this one is working as is in latest PHP 5.3 branch) :)

    Thanks,
    Dinke

Leave a reply