查看文件: index_logout.php
大小: 912 字节
类型: application/octet-stream
<?php require_once('Connections/BE2.php'); mysql_select_db($database_BE2, $BE2); $del_order = sprintf("delete from order_tmp WHERE p_sess= '%s'",session_id()); mysql_query($del_order, $BE2) or die(mysql_error()); session_unset(); // Remove the $_SESSION variable information. session_destroy(); // Remove the server-side session information. // Unset the cookie on the client-side. // setcookie("PHPSESSID", "", 1); // Force the cookie to expire. // Start a new session //session_start(); // Generate a new session ID //session_regenerate_id(true); // session_destroy(); // session_regenerate_id(); // $_SESSION['login_memid']=''; // $_SESSION['login_mobile']='' ; // $_SESSION['login_memname']=''; $insertGoTo = '/';//$_POST['url']; $write='您已登出 SKYBNI '; echo "<script>alert('".$write."');location.href='".$insertGoTo."';</script>"; ?>
保存
取消
返回文件列表