<?php setcookie(‘a‘,‘value‘); print $_COOKIE[‘a‘];
为什么第一次无法获取cookie
原文:http://www.cnblogs.com/xiedie/p/4162414.html