MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /var/www/html/pathumthani_eoffice/application/gov_news/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_eoffice/application/gov_news/logout.php
<?
session_start();
include("../../config/config.inc.php");
addlog("logout");
$nochecklogin=true;
//include "epm.inc.php";
//8=login fail, 9 = login , 10 = logout
//addLog("",10,"Logout จาก username  $_SESSION[session_depusername]");

$_SESSION[session_dev_id] = "";
$_SESSION[session_depusername] = "";
$_SESSION[session_depname] = "";
$_SESSION[session_fullname] = "";
$_SESSION[session_privilege] = "";
$_SESSION[session_lastlogin]="";
$_SESSION[session_username]="";
$_SESSION[session_docadmin]="";
session_destroy();
$msg = "ออกจากระบบ<br>";
include('msg_box.php');
echo "<meta http-equiv='refresh' content='1;url=index.php'>" ;
//header("Location: index.php");
exit;

?>

Anon7 - 2021