9 lines
186 B
PHP
9 lines
186 B
PHP
|
<?php
|
||
|
// Start the session
|
||
|
session_start();
|
||
|
// Destroy the active session, which logs the user out
|
||
|
session_destroy();
|
||
|
// Redirect to the login pag
|
||
|
header('Location: index.php');
|
||
|
exit;
|
||
|
?>
|