FW: Relocating and POSTing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've solved the problem by using a query string - whilst it is the same domain now - it won't always be and I a silly moment trying to POST data with the redirect!

Thanks for the help,

Alex

> -----Original Message-----
> From: Eric Butera [mailto:eric.butera@xxxxxxxxx]
> Sent: 10 July 2008 20:12
> To: Daniel Brown
> Cc: richardh@xxxxxxxxxxx; Alex Chamberlain; PHP General list
> Subject: Re:  Relocating and POSTing
> 
> On Thu, Jul 10, 2008 at 2:58 PM, Daniel Brown <parasane@xxxxxxxxx>
> wrote:
> > On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes <richardh@xxxxxxxxxxx>
> wrote:
> >>
> >> 1. Use the query string. Eg
> >>
> >> header('Location: http://www.xxx.com?name=value&name2=value2');
> >
> >    That's GET, not POST, as the subject requests.  ;-P
> >
> >> 2. Use sessions
> >
> >    .... if you're not trying to POST the data and are staying within
> > the same domain on the same server. ;-P
> 
> I'm pretty sure he means persist POST data on the forwarded request.
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.138 / Virus Database: 270.4.7/1544 - Release Date:
> 10/07/2008 07:37

No virus found in this outgoing message. Scanned by AVG Free 8.0
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.4.7/1544 - Release Date: 10/07/2008 07:37

No virus found in this outgoing message. Scanned by AVG Free 8.0
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.4.7/1544 - Release Date: 10/07/2008 07:37


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux