Location: PHPKode > projects > Ptk-forensics > ptk/lib/logout.php
<?
/*
PTK  - DFLabs
Copyright (C) 2008 - DFLabs srl - All rights reserved
hide@address.com
*/
include("check_session.php");
include("sanitize.php");
include ("loggerClass.php");
session_start();
new Log($_SESSION['ip'], $_SESSION['user'], 'User logged out');	
if ($handle = opendir('../temp')) {
    while (false !== ($file = readdir($handle))) {
        if($file!="." && $file !="..")
			unlink ("../temp/$file");
    }
    closedir($handle);
}
session_destroy();
header("location: ../index.php");
?>
Return current item: Ptk-forensics