session_start(); // destroy the session unset($_SESSION['smu']); unset($_SESSION['mname']); unset($_SESSION['user']); unset($_SESSION['ad-user']); session_destroy(); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); ?>