Re: Re: $_POST issues

From: 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:
My problem is not the redirection; but all I want is to get the data in $_POST
     Again: there is no $_POST data.
     Why does receipt.php work while response.php doesn't?  THERE IS NO
$_POST DATA.
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); <---------
     Your code in receipt.php even uses $_GET.  You can see it in the
browser'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.


« previous php.general (#309803) next »