Re: CURL Post?




Pupkin wrote:
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.

Difficult to say since you haven't told us what the behavior afterward
is supposed to be or why it isn't successful.

.



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)
  • CURL Post?
    ... I'm trying to use CURL to do an HTTP post. ... afterward. ... Can anyone point me to a resource that tells me in detail how to use ...
    (alt.php)