<?php require 'checkuser.php';
unset($_SESSION['username']); unset($_SESSION['password']); // kill session variables $_SESSION = array(); // reset session array session_destroy(); // destroy session. header('Location: logon.php'); // redirect them to anywhere you like. ?>
|