Files
vokspace/actions/logout.php
2026-01-02 21:00:45 +01:00

30 lines
593 B
PHP

<?php session_start(); ?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="../files/style.css" />
</head>
<body>
<main>
</main>
<?php
include "../files/errorcodesscript.inc.php";
require "../files/ezine_db.inc.php";
include "../files/loginscript.inc.php";
if($LoggedIn == 'true') {
$_SESSION["Benutzername"] = '';
$_SESSION["Passwort"] = '';
$_SESSION["errorCode"] = 'logoutSuccess';
print("<meta http-equiv='refresh' content='0; URL=../index'>");
}
?>
</body>
</html>