Location: PHPKode > projects > Ptk-forensics > ptk/lib/goto_home.php
<?
/*
PTK  - DFLabs
Copyright (C) 2008 - DFLabs srl - All rights reserved
hide@address.com
*/
include("check_session.php");
include("lib_std.php");
include("sanitize.php");
$id = $_GET['id'];
$id = sanitize($id,INT);
if($id=='0'){
	unset($_SESSION['image_id']);
	unset($_SESSION['image']);
	unset($_SESSION['timeline']);
	unset($_SESSION['timeline_id']);
	unset($_SESSION['ram_type']);
	unset($_SESSION['ram_offset']);
}else{
	$_SESSION['temp_case_id'] = case_id_from_name($_SESSION['case']);
	unset($_SESSION['image_id']);
	unset($_SESSION['image']);
	unset($_SESSION['timeline']);
	unset($_SESSION['timeline_id']);	
	unset($_SESSION['ram_type']);
	unset($_SESSION['ram_offset']);	
}
	

header("location: home.php");
?>
Return current item: Ptk-forensics