PHP Classes

File: example/logout.php

Recommend this page to a friend!
  Classes of Ashraf Gheith   PHP Secure Login and Registration   example/logout.php   Download  
File: example/logout.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Secure Login and Registration
Register and login users in a database with PDO
Author: By
Last change: Fixed some bugs and security issues
Date: 7 years ago
Size: 136 bytes
 

Contents

Class file image Download
<?php
   
require_once '../class/user.php';
    require_once
'config.php';

   
$user->logout();

   
header('location: index.php');
?>