274398
Does anyone know a work around where the values you're getting are coming by querystring and can't come via _POST ?
I need to have a page which accepts a transaction response from an external api which I have no control over. The data is coming by $_GET and I really need to log it in my database.
this is what I have. returns error 0 - 'action not allowed'
foreach ($_GET as $k=>$v)
{
$str = "$k,$v|";
}
if ( $str == '' )
{
$str = 'executed and nothing received';
}
$sql = 'INSERT INTO '.$xoopsDB->prefix('ks_transaction_log');
$sql .= " ( trans_str ) VALUES ('$str')";
print $sql;
$result = $xoopsDB->queryF($sql);