vsopvs Posted December 30, 2004 Posted December 30, 2004 Hi everybody; register_globals is on in php.ini (i also checked through phpinfo()). I set $GLOBALS['cc_type'] = $this->cc_type; etc in includes/classes/cc_validation.php, expecting this to be written to ORDERS_TABLE, but this does not happen somehow. I traced it through includes/classes/order.php, if i set the value directly (for testing) - it gets written to the database ... but not through GLOBALS set in cc_validation.php ... Any advice? Thanks vs
Guest Posted December 30, 2004 Posted December 30, 2004 what are you trying to accomplish? what payment module are you going to use?
vsopvs Posted December 30, 2004 Author Posted December 30, 2004 what are you trying to accomplish?? what payment module are you going to use? <{POST_SNAPBACK}> I am using linkpointbasic.php, and the site is up & running for more than a year, everything is fine. It's just the client requested credit card info to be saved in the database, and there's a section in includes/classes/order.php where they use isset($GLOBALS['cc_number']) to set cc info before the database record is inserted, so i wanted to set respective GLOBALS in cc_validation.php ... But it does not work somehow, even though register_globals is On ...
Guest Posted December 30, 2004 Posted December 30, 2004 you should probably read your merchant account agreement on storing credit cards, most merchant accounts forbid you to store the info and they could cancel you at anytime if they see this.
vsopvs Posted December 30, 2004 Author Posted December 30, 2004 you should probably read your merchant account agreement on storing credit cards, most merchant accounts forbid you to store the info and they could cancel you at anytime if they see this. <{POST_SNAPBACK}> Do you think Big Brother reads my $GLOBALS? :blink: Well ... considering the Patriot Act ... they might :'(
Recommended Posts
Archived
This topic is now archived and is closed to further replies.