Re: [PHP] Re: $_POST issues

2010-12-01 Thread Daniel P. Brown
On Wed, Dec 1, 2010 at 16:32, Nadim Attari wrote: > > Thank you Daniel for this detailed post of yours. Really appreciated. Quite welcome. > Saving the $_POST data (in response.php) in a file will serve nothing. - And > you said this was an unnecessary step from the payment gateway - All i n

Re: [PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 10:08 PM, Daniel P. Brown wrote: On Wed, Dec 1, 2010 at 12:15, Nadim Attari 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);<- According to cU

Re: [PHP] Re: $_POST issues

2010-12-01 Thread Daniel P. Brown
On Wed, Dec 1, 2010 at 12:15, Nadim Attari 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); <- According to cURL, it's never even hitting response.php to

Re: [PHP] Re: $_POST issues

2010-12-01 Thread Daniel P. Brown
On Wed, Dec 1, 2010 at 11:56, Nadim Attari 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. Your code in receipt.php even use

Re: [PHP] Re: $_POST issues

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

[PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 08:56 PM, Nadim Attari wrote: On 12/01/2010 06:50 PM, Bundhoo M Nadim wrote: Hello, Can someone explain me what this piece of code basically does ? http://www.domaine.com/page.php?";; $param = http_build_query($_POST); print $param; exit(0); ?> Well, the code is redirecting to s

[PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 06:50 PM, Bundhoo M Nadim wrote: Hello, Can someone explain me what this piece of code basically does ? http://www.domaine.com/page.php?";; $param = http_build_query($_POST); print $param; exit(0); ?> Well, the code is redirecting to some page with query string constructed using