2016年11月23日

PHP 通过设置P3P头来实现跨域访问COOKIE

摘要: CentOS的系统(Linux 内核) 编辑HOST vi /etc/hosts 加入127.0.0.1 www.a.com127.0.0.1 www.b.com 首先:创建 a_setcookie.php 文件,内容如下: <?php //header('P3P: CP="CURa ADMa DE 阅读全文

posted @ 2016-11-23 16:44 kingofyz 阅读(717) 评论(0) 推荐(0)

导航