no message

This commit is contained in:
2025-10-18 14:46:52 +08:00
commit 7a84025b05
387 changed files with 75711 additions and 0 deletions

14
user/logout.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
// 启动会话
session_start();
// 清空 $_SESSION 数组
$_SESSION = [];
// 如果需要,调用 session_destroy() 销毁会话
session_destroy();
// 可选:重定向到某个页面
header("Location: ./");
exit();
?>