PHP Classes

File: Core/Logout.php

Recommend this page to a friend!
  Classes of jon   PHP Login Site with Cookie MD5 Hash   Core/Logout.php   Download  
File: Core/Logout.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Login Site with Cookie MD5 Hash
User login system using cookies with MD5 tokens
Author: By
Last change:
Date: 2 months ago
Size: 444 bytes
 

Contents

Class file image Download
<?php

//PageName: Fs/Cs/Fs/Feedstadium/SocialNetwork/Profile/Editing/Index.php
//PageFunction:
//Dependencies:
//Executes AJAX from page:
//Includes:
//Techs:

//Require the Vars
require_once ''.str_replace($_SERVER['SCRIPT_NAME'],'',$_SERVER['SCRIPT_FILENAME']).'/Vars2.php';

$user = new User();

//echo $User->data()->Username;
if ($user->isLoggedIn())
{
   
   
$user->Logout();

}
else
{
    echo
'was not logged in';
}