PHP Classes

File: logout.php

Recommend this page to a friend!
  Classes of Ahmed Khan   Custom PHP CMS   logout.php   Download  
File: logout.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Custom PHP CMS
Manage the content of a site that can be searched
Author: By
Last change:
Date: 2 years ago
Size: 228 bytes
 

Contents

Class file image Download
<?php
session_start
();
session_unset();

// destroy the session

if(session_destroy())
                  {
                   
                   
header('Location: index');
                    return;
                  }

?>