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:[EMAIL PROTECTED]
> Sent: 10 July 2008 20:12
> To: Daniel Brown
> Cc: [EMAIL PROTECTED]; Alex Chamberlain; PHP General list
> Subject: Re: [PHP] Relocating and POSTing
> 
> On Thu, Jul 10, 2008 at 2:58 PM, Daniel Brown <[EMAIL PROTECTED]>
> wrote:
> > On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes <[EMAIL PROTECTED]>
> 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

Reply via email to