PHP Classes

File: logout.php

Recommend this page to a friend!
  Classes of Miguel Villaseņor   MKCS PHP Support Chat   logout.php   Download  
File: logout.php
Role: Example script
Content type: text/plain
Description: Example script
Class: MKCS PHP Support Chat
Chat with clients of a support site
Author: By
Last change:
Date: 10 years ago
Size: 198 bytes
 

Contents

Class file image Download
<?php
require_once "classes/Client.php";
session_start();
$client =Client::getClient($_SESSION['client_id']);
$client->getChat()->finalize();

session_destroy();

header("Location: index.php");

?>