// 方法1$_COOKIE['a'] = 'a';// 方法2setcookie('a','a',time()+3600*24);// www.hi-docs.com/php/setcookie.html?>