pastafarianstvi.cz/logout.php
2022-11-19 17:30:09 +01:00

14 lines
No EOL
222 B
PHP

<?php
// Initialize the session
session_start();
// Unset all of the session variables
$_SESSION = array();
// Destroy the session.
session_destroy();
// Redirect to login page
header("location: login.php");
exit;
?>