Ϊʲôͬһվµã£¬²»Í¬Ä¿Â¼Ï£¬Í¬Ò»ä¯ÀÀÆ÷µÄCOOKIE²»Ò»Ñù£¿
ÎÒÔÚ /order/
a.php ÉèÖÃ cookie;
setcookie("buydd",$buyid,time()+3600,"/","127.0.0.1");
print_r($_COOKIE);
/order/pay/
b.php Àï
print_r($_COOKIE);
È´·¢ÏÖ b.php ÀïËÀ»î¶¼Ã»ÓÐ buydd Õâ¸ö cookie £¬ÎÞÂÛÔõôˢÐÂҲû£¬
ÆäËûcookieÏîÄ¿Ò²ºÜ²»Ò»Ñù£¬ºÜÆæ¹Ö°¡£¡
[½â¾ö°ì·¨]
×¥¸ö°ü¿´¿´headerÀïcookieµÄÓÐЧÆÚ°É£¿