⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 logout.php

📁 Internet Task Management System可以让用户分配和管理一个组织内的任务。ITMS可以发送任务管理通知
💻 PHP
字号:
<?php/* * ITMS ValleyData source file version 1.0 May 11, 2001 * * Called to log a user out of ITMS * * * Internet Task Management System: An online system used for recording information about and assigning tasks and processes. * Copyright (C) 2001  ValleyData Programming Group * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA * * See file named "gpl.txt" included with source code or * visit http://www.gnu.org/copyleft/gpl.txt on the internet. */ include("config.php");$title = "logout title";unset($user); //delete user variableunset($pass); //delete password variable($SECURE_COOKIES == "true")? $SSL=1: $SSL=0;setcookie("user", "", time()-360000, "", "", $SSL); setcookie("pass", "",  time()-360000, "", "", $SSL);setcookie("isAdmin", "",  time()-360000, "", "", $SSL);setcookie("user_id", "",  time()-360000, "", "", $SSL);setcookie("hash", "",  time()-360000, "", "", $SSL);//setcookie("user"); //delete user cookie//setcookie("pass"); //delete password cookie//setcookie("isAdmin");//setcookie("user_id");//setcookie("hash");header("Location: index.php"); //send the user to the home page?>This is the logout page.</td></tr></table><?php include("footer.php"); ?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -