$value) { SETCOOKIE($key,$value,TIME()-10000,"/" ); } session_destroy(); header("location: index.php"); // Redirecting to first page exit; ?>