You are here: Re: CURL Post? « All PHP « IT news, forums, messages
Re: CURL Post?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация