simple get vars.[solved]

Author Message

ludo thomas

Monday 06 February 2006 3:06:51 am

Hi
I have a problem.
I need to implement a payment gateway from a bank.
First I send a request to the bank.(all is ok)
2ndly:The bank call my site with something like:

HTTP://www.sfgsfgsdfg.com/valid?IDENT_COMMERCANT=45754

the problem is that the bank send GET vars with the url.
in valid.php, the code is:

$facture->IDENT_COMMERCANT=$HTTP_GET_VARS["IDENT_COMMERCANT"];

the GET var is never read.
Is there a solution?

Patrick Kaiser

Monday 06 February 2006 4:32:46 am

did you try

$facture->IDENT_COMMERCANT=$_GET["IDENT_COMMERCANT"];

already?


Best regards,

Patrick

ludo thomas

Monday 06 February 2006 5:58:03 am

I just have to say:

$_GET["myvar"]

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.