FW: [PHP] Relocating and POSTing

From: Date: Thu, 10 Jul 2008 19:28:42 +0000
Subject: FW: [PHP] Relocating and POSTing
Groups: php.general 
Request: Send a blank email to php-general+get-276623@lists.php.net to get a copy of this message
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@gmail.com] > Sent: 10 July 2008 20:12 > To: Daniel Brown > Cc: richardh@phpguru.org; Alex Chamberlain; PHP General list > Subject: Re: [PHP] Relocating and POSTing > > On Thu, Jul 10, 2008 at 2:58 PM, Daniel Brown <parasane@gmail.com> > wrote: > > On Thu, Jul 10, 2008 at 2:32 PM, Richard Heyes <richardh@phpguru.org> > 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

« previous php.general (#276623) next »