Home >php教程 >php手册 >php注销代码(session注销)

php注销代码(session注销)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 20:40:451142browse

为了安全管理员不想使用后台后,最好是注销下,其实就是销毁session

代码如下:
注销
session_start();
session_destroy();
header("location:index.php");
?>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn