Re: Re: $_POST issues
| From: | Nadim Attari | Date: | Wed, 01 Dec 2010 17:15:34 +0000 |
| Subject: | Re: Re: $_POST issues | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309803@lists.php.net to get a copy of this message | ||
On 12/01/2010 09:15 PM, Daniel P. Brown wrote:
On Wed, Dec 1, 2010 at 11:56, Nadim Attari<nadim@alienworkers.com> wrote:where does receipt.php gets the $_GET data ? Isn't it from response.php where the $_POST data are being http_build_query()'ed ?? $param = http_build_query($_POST); <---------My problem is not the redirection; but all I want is to get the data in $_POSTAgain: there is no $_POST data.Why does receipt.php work while response.php doesn't? THERE IS NO$_POST DATA.
Your code in receipt.php even uses $_GET. You can see it in thebrowser's address bar on the response. It is $_GET. THERE IS NO $_POST DATA.Change: $param = http_build_query($_POST);To: $param = http_build_query($_GET);Or: $param = http_build_query($_REQUEST);P.S. - THERE IS NO $_POST DATA.