This commit is contained in:
gabrielkheisa
2022-10-02 16:13:30 +07:00
parent efc709d079
commit ad3f499895
7 changed files with 589 additions and 0 deletions

14
logout.php Normal file
View File

@@ -0,0 +1,14 @@
<?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;
?>