File: logout.php

Recommend this page to a friend!
  Classes of Ankit Jain  >  Registration Module  >  logout.php  >  Download  
File: logout.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Registration Module
Register and login users in MySQL database records
Author: By
Last change:
Date: 3 years ago
Size: 291 bytes
 

Contents

Class file image Download
<?php

namespace AnkitJain\RegistrationModule;
require (
dirname(__DIR__) . '/registration-module/vendor/autoload.php');
use
AnkitJain\RegistrationModule\Session;

if(
Session::get('start') != null)
{
   
Session::forget('start');
   
header('Location: index.php');
}
else
{
    echo
"Please Login";
}


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