8 Comments to “PHP post without curl”

  1. Binny V A

    Apr 4th, 2008

    An easier way to do this – load() function. With and without curl

  2. Sajith M.R

    Apr 4th, 2008

    Both are almost same , i think

  3. nerkn

    Mar 28th, 2009

    Hi,
    I’s very compact and working solution so a big thanx to you.
    I thing arguments need explanation. Cause I need to unzip the file. For copy&pasters:

    $data can be prepared with use of http_build_query. give assoc array. url ;I used http://domain.com/file.php rest resides in $data.

    Mr Sajith Your function is not function a kind of library I guess. It could be complete for a project but for a small posts I like this one.

  4. Johnny

    Apr 14th, 2009

    Hi,
    I’m trying to use the above code and it keeps throwing the first exception.. do you know why, or how i can fix it ?

    10x.

  5. Farzanegan

    Apr 23rd, 2009

    Looks like it was stolen (w/out reference) from : http://netevil.org/blog/2006/nov/http-post-from-php-without-curl

    (yes, 2006)

    Plagarism FTW!

  6. Sajith M.R

    Apr 26th, 2009

    Nice Farzanegan, i never mention anywhere that i did the code. It is for those who seeks for code. And moreover, i never made my own PHP from home. I got the php codes and documentation from php.net. Should I mention all these in my all project ?

  7. Blog SEO

    May 14th, 2009

    I try to do the same, “why reinvent the wheel” :) But you could have let a link to original source ;)

  8. adam

    Dec 3rd, 2009

    thank you


Leave a Reply