php-password-store/logout.php
2010-12-17 15:41:45 +01:00

9 lines
221 B
PHP

<?php
require 'config.php';
include 'session.php';
session_destroy();
header('Location: login.php');
echo 'Logout successful. If you are not redirected back to the login page, <a href="login.php">click here</a>.';
exit;