threadr.lostcave.ddnss.de/threadr/logout/index.php

18 lines
402 B
PHP
Raw Normal View History

2020-02-21 07:04:24 +01:00
<?php
$_SESSION = array();
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();
setcookie(session_name(), '', time() - 42000, $params["path"], $params["domain"], $params["secure"], $params["httponly"]);
}
session_destroy();
?>
<!DOCTYPE html>
<!-- ToDo: Add proper page -->
<html>
<head>
</head>
<body>
<h1> Bye! Cya around some time soon. </h1>
</body>
</html>