19 lines
337 B
PHP
19 lines
337 B
PHP
<?php
|
|
|
|
// Start the session
|
|
session_start();
|
|
|
|
// Unset all of the session variables
|
|
$_SESSION = array();
|
|
|
|
// Destroy the session
|
|
session_destroy();
|
|
|
|
// Redirect the user to the login page
|
|
echo "<script type='text/javascript'>
|
|
window.top.location.href = '../index.html';
|
|
</script>";
|
|
|
|
exit;
|
|
|
|
?>
|