0
我想我以前$_SESSION['cart']
到IPN Code贝宝IPN贝宝IPN如何让当前会话
样品我用。一切工作正常,脚本得到了来自Paypal的$_POST
数据。
if (strcmp ($res, "VERIFIED") == 0) {
$subject = time();
$to = '[email protected]';
foreach ($_POST as $key => $value) {
$body .= "\n$key: $value";
}
mail($to, $subject, $body);
}
问题
if (strcmp ($res, "VERIFIED") == 0) {
// 1. How to get my previous $_SESSION['cart'] here?
// 2. When I call my $_SESSION['cart'] here not ouput will come & it's empty.
// 3. Or this code only to get $_POST data from Paypal website only?
}