You are here: Re: help « PHP Programming Language « IT news, forums, messages
Re: help

Posted by 6e on 01/05/08 18:44

I want to redirect a post because Im using "instant payment
notification" from paypal, and I want to send the variables that I
verified on the php page to a java servlet page.


in in reference to:
> Are you sure you want returntransfer?
>
> And why exectly do you need this construct (redirect a post)?

I don't know! Do I not want one????

On Jan 5, 1:17 pm, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
> On Sat, 05 Jan 2008 19:06:35 +0100, 6e <aot...@hotmail.com> wrote:
> > Hi!
>
> Hi!!
>
> > Please help!!!
>
> OK!!!!
>
> > Im using php and Im trying to redirect my users to a new page along
> > with keeping all of the POST variables...
>
> Impossible, unless you rely on javascript tricks, at least an external  
> redirect.
>
> > I tried 2 things
>
> > 1. Using this echo (below), but I can't figure out how to send along
> > the post variables..
>
> Forget about this one.
>
> > 2.  Using Curl  - note I changed the tunnelling ip address to
> > xx.xxx.xxx.xxx for this post
> >          but the page doesn't change..
>
> Should work for displaying the page (except for the relative/absolute  
> hrefs/src/targets), what do you mean by 'doesn't change'.
>
> > $domain1 = "http://www.mydomain.com/myPage.html";
>
> > $ch = curl_init();
> > curl_setopt ($ch,CURLOPT_URL,$domain1);
> > curl_setopt ($ch, CURLOPT_RETURNTRANSFER,1);
>
> Are you sure you want returntransfer?
>
> And why exectly do you need this construct (redirect a post)?
> --
> Rik Wasmus

 

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

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