CasperSecurity
<?php
/*session_start();
unset($_SESSION['USER_ID']);
unset($_SESSION['USER_NAME']);
unset($_SESSION['USER_TYPE']);
unset($_SESSION['host']);
unset($_SESSION['username']);
unset($_SESSION['password']);
unset($_SESSION['database']);
unset($_SESSION['school_name']);*/
/*$actual_link = 'http://'.$_SERVER['HTTP_HOST'];
//echo $actual_link;
header('location:../../../');*/
session_start(); //to ensure you are using same session
session_destroy(); //destroy the session
header("location:/index.php");
?>