首页 > 编程 > PHP > 正文

php注销代码(session注销)

2019-11-22 00:44:38
字体:
来源:转载
供稿:网友
复制代码 代码如下:

<a href="logout.php" style="color:#F09;">注销</a>
<?php
session_start();
session_destroy();
header("location:index.php");
?>
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表