ok
<?php // Start the session session_start(); $_SESSION = array(); session_destroy(); header("Location: index.php"); exit; ?>