[_] PHP header() GET not POST
Dave Hodgkinson
davehodg at gmail.com
Sun Sep 3 13:14:17 BST 2006
On 3 Sep 2006, at 13:09, Mike Walters wrote:
>>
>> you can't redirect POST and retain the parameters AFAICR.
>>
>> Why do you need to do that?
>>
>
> Ug. My site needs to redirect to a third-party site and I want to
> minimise the chance of someone editing the parameters. Once the
> page has redirected the URL of the third-party is visible with all
> parameters.
For payment?
Can you go a POST inside PHP and check the results?
>
> When the third-party redirects back to my site I can do a double
> check at that stage and take action, but by that time the third-
> party has completed its transaction so I'd have to 'undo' it.
>
> Is this a PHP thing or an HTTP thing, i.e. if PHP would another
> language do what I need?
HTTP.
--
Dave Hodgkinson - Music photography
http://www.davehodgkinson.com/