|
Posted by Pupkin on 10/26/06 16:10
In article <1161868127.912527.137440@m7g2000cwm.googlegroups.com>,
zeldorblat@gmail.com says...
>
> Pupkin wrote:
> > 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
> >
> Difficult to say since you haven't told us what the behavior afterward
> is supposed to be or why it isn't successful.
>
After the HTTP Post executes, the page doesn't follow the Post URL,
which contains a Return URL, and I can't get a hard coded redirect after
it to work either. The code in the page just stops executing.
Navigation:
[Reply to this message]
|