php7中如何设置COOKIE和销毁COOKIE
2021-05-10 14:28
标签:etc bool exp php set time stc ring echo 1,如何设置COOKIE setcookie ( string $name [, string $value = "" [, int $expire = 0 [, string $path = "" [, string $domain = "96net.com.cn" [, bool $secure = false [, bool $httponly = false ]]]]]] ) : bool setrawcookie() 再设置值时候原样输出 2,销毁COOKIE setcookie("TestCookie", $value, time()-3600); 3,获取COOKIE值 echo $_COOKIE["TestCookie"]; php7中如何设置COOKIE和销毁COOKIE 标签:etc bool exp php set time stc ring echo 原文地址:https://blog.51cto.com/13959155/2459510
下一篇:WPF 控件模板
文章标题:php7中如何设置COOKIE和销毁COOKIE
文章链接:http://soscw.com/index.php/essay/84173.html