1、PHP设置cookie的基本语法和常用参数:
2、PHP示例,设置一个cookie
3、接收setcookie()的返回值
4、根据setcookie()的返回值进行判断输出
5、在浏览器查看输出结果
6、setcookie()的其他注意事项: