Files
WMU-CS4430-Project/var/www/logout.php
2019-12-03 22:24:42 -05:00

26 lines
805 B
PHP

<?php
require 'common.php';
unset($_SESSION['loggedInUser']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>friendbook Logout</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="styling.css">
</head>
<body>
<!--#include virtual="header.html" -->
<div class="message">
<p>You have been logged out.</p>
<p>Thank you for using friendbook!</p>
<br /><br />
<a href="/login.php" class="button">Login again?</a>
</div>
</body>
</html>
<?php
$db_connection = null;
?>