ipreg/logout.php

10 lines
146 B
PHP

<?php
session_start();
// clear and destroy session
$_SESSION = array();
session_destroy();
header("Location: index.php");
?>