Re: Re: $_POST issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/01/2010 09:15 PM, Daniel P. Brown wrote:
On Wed, Dec 1, 2010 at 11:56, Nadim Attari<nadim@xxxxxxxxxxxxxxxx>  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.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux