2- logoff.php
    
Código PHP:
Ver original<?php
/*
This script was downloaded at:
LightPHPScripts.com
Please support us by visiting
out website and letting people
know of it.
Produced under: LGPL
*/
 
/* Config file */
include('config.php');
 
/* Start session */
 
if($useCookies == TRUE)
{
    /* Remove cookies */
}
 
/* Blank out sessions */
$_SESSION['isLoged'] = NULL;
$_SESSION['userName'] = NULL;
 
/* Unset all of the session variables */
 
/* Destory this session */
 
/* Rdirect to logout page */
header("Location: $logoutPage"); ?>