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.

eZ debug

Timing: Jan 18 2025 19:14:31
Script start
Timing: Jan 18 2025 19:14:31
Module start 'layout'
Timing: Jan 18 2025 19:14:31
Module start 'content'
Timing: Jan 18 2025 19:14:32
Module end 'content'
Timing: Jan 18 2025 19:14:32
Script end

Main resources:

Total runtime1.2861 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0114 587.9063152.6250
Module start 'layout' 0.01140.0034 740.531339.4453
Module start 'content' 0.01481.2701 779.9766542.4375
Module end 'content' 1.28480.0013 1,322.414112.1797
Script end 1.2861  1,334.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2884160.0002
Check MTime0.00150.1159160.0001
Mysql Total
Database connection0.00120.096710.0012
Mysqli_queries1.228095.4797570.0215
Looping result0.00070.0512550.0000
Template Total1.238496.320.6192
Template load0.00240.183220.0012
Template processing1.236096.100520.6180
Template load and register function0.00010.008210.0001
states
state_id_array0.00120.091610.0012
state_identifier_array0.00180.143220.0009
Override
Cache load0.00200.1585240.0001
Sytem overhead
Fetch class attribute can translate value0.00220.167620.0011
Fetch class attribute name0.00220.168750.0004
XML
Image XML parsing0.00110.082420.0005
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00100.0766220.0000
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs