2 Unstar Star 3 Fork 0

rumosky / 学生信息管理PHPGPL-3.0

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
简易学生信息管理系统,仅仅是一个测试代码,仅供参考。 spread retract

Clone or download
logout.php 685 Bytes
Copy Edit Web IDE Raw Blame History
如默 authored 2019-01-02 20:11 . update
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>欢迎进入人力资源管理系统</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<?php include("common/header.php");?>
<div class="body">
<?php
// 注销后的操作
session_start();
// 清除Session
$username = $_SESSION['username']; //用于后面的提示信息
$_SESSION = array();
session_destroy();
// 清除Cookie
setcookie('username', '', time()-99);
setcookie('code', '', time()-99);
// 提示信息
echo "欢迎下次光临, ".$username.'<br>';
echo "<a href='login.php'>重新登录</a>";
?>
</div>
<?php include("common/footer.php");?>
<body>
</body>
</html>

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/rumosky_admin/student_information_management.git
git@gitee.com:rumosky_admin/student_information_management.git
rumosky_admin
student_information_management
学生信息管理
master

Search