9 lines
No EOL
186 B
PHP
9 lines
No EOL
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;
|
|
?>
|