Re: how to forward $_POST data to next page?

From: Date: Fri, 04 Jan 2008 13:34:05 +0000
Subject: Re: how to forward $_POST data to next page?
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-794@lists.php.net to get a copy of this message
On Jan 4, 2008 6:59 AM, Simon Moses <ksmoses@gmail.com> wrote: > dear sir, > > how to forward $_POST data to next page? > > ex. a.php has a form and form fields. when you submit it will go to b.phpbut > b.php is like front controller which should send full forms information to > c.php > > how to achieve this in php? If the form target is b.php, and b.php then redirects to c.php (i.e. the url in your address bar becomes c.php) you "can't". It is explicitly forbidden by the HTTP spec :] If however c.php is just include("c.php")d in b.php then c.php has already access to all the superglobals. This mailinglist is however dedicated to the webmasters of the www.php.net website itself, it's not a support channel. Please have a look at our support section at http://php.net/support for more information. -Hannes

« previous php.webmaster (#794) next »