<?php
include("header.php");
// clear and destroy session
$_SESSION = array();
session_destroy();
header("Location: index.php");
include("footer.php");
?>