Login   Register  
PHP Classes
elePHPant
Icontem

File: logout.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrew  >  Login Script  >  logout.php  >  Download  
File: logout.php
Role: Example script
Content type: text/plain
Description: Logout page
Class: Login Script
Authenticate users with records in a MySQL table
Author: By
Last change:
Date: 6 years ago
Size: 199 bytes
 

Contents

Class file image Download
<?php
/**
 *     logout.php
 * 
 *     signs the user out, destroying session data etc.
 * 
 */

session_start();
require(
'LoginSystem.class.php');

$loginSys = new LoginSystem();

$loginSys->logout();

?>