-2
需要您的帮助!一切正常,没有任何问题,但IPN监听器忽略饼干($ _COOKIE变量是空的)IPN监听器忽略cookies
我的代码:
file_put_contents("cookies_log.txt",print_r($_COOKIE, TRUE));
ini_set('log_errors', true);
ini_set('error_log', dirname(__FILE__).'/ipn_errors.log');
// intantiate the IPN listener
include('ipn/ipnlistener.php');
$listener = new IpnListener();
//$listener->use_sandbox = true;
//$listener->use_curl = false;
try {
$listener->requirePostMethod();
$verified = $listener->processIpn();
} catch (Exception $e) {
error_log($e->getMessage());
exit(o);
}
第一线generetes cookies_log.txt文件,并在它只是:
Array
(
)
这意味着它没有找到cookies