PHP Classes

File: account/logout.php

Recommend this page to a friend!
  Classes of Mohamed Elbahja  >  PHP Secure Login Library  >  account/logout.php  >  Download  
File: account/logout.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Secure Login Library
Login users and start sessions in a MySQL database
Author: By
Last change:
Date: 5 years ago
Size: 164 bytes
 

Contents

Class file image Download
<?php
define
('INC_FILES', true);

require_once(
'config.php');
require_once(
SLS_DIR . '/global_sls.php');

$sls->session->destroy();
$sls->redirect(WEB_URL);
exit;

For more information send a message to info at phpclasses dot org.