Reply to Re: help

Your name:

Reply:


Posted by Rik Wasmus on 01/05/08 18:17

On Sat, 05 Jan 2008 19:06:35 +0100, 6e <aotemp@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 =3D "http://www.mydomain.com/myPage.html";
>
> $ch =3D 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

[Back to original 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

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