CURL Post?



Hi,

I'm trying to use CURL to do an HTTP post.

I've got the posting working successfully, but not the behavior
afterward.

Can anyone point me to a resource that tells me in detail how to use
these parameters:


curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);// allow redirects
curl_setopt ($ch, CURLOPT_RETURNTRANSFER,1); // return into a variable


Thanks.
.



Relevant Pages

  • Re: CURL Post?
    ... I'm trying to use CURL to do an HTTP post. ... afterward. ... I don't know about CURL, but you can do what you want using this HTTP ... PHP Classes - Free ready to use OOP components written in PHP ...
    (alt.php)
  • Re: CURL Post?
    ... Pupkin wrote: ... I'm trying to use CURL to do an HTTP post. ... Difficult to say since you haven't told us what the behavior afterward ...
    (alt.php)
  • Re: how to post file with curl
    ... How to HTTP POST a file with curl. ... specifically want to send file to paticular url. ... Plz help.... ...
    (alt.php)