Location: PHPKode > projects > SportsPHool > sportsphool/signoff.php
<?php
// signoff.php: destroys session information, thus logging user off
//
// This file is part of the SportsPHool application
// Copyright (C) 2000, 2001 Barry Scott Will <hide@address.com>
// See /license and /gpl.txt for licensing information
//
require("./shared.php");
if(session_destroy()) {
  header("Location: " . $SYS["base_href"] . "/signon.php?message=1");
} else {
  header("Location: " . $SYS["base_href"] . "/signon.php?message=2&" . SID);
}
?>
Return current item: SportsPHool