PHP Classes

File: uploady/logout.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Uploady PHP Upload File to MySQL   uploady/logout.php   Download  
File: uploady/logout.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Uploady PHP Upload File to MySQL
Store file upload details in a MySQL database
Author: By
Last change: Fix a bug in logout.
Date: 2 months ago
Size: 315 bytes
 

Contents

Class file image Download
<?php

session_start
();

include_once
'config/config.php';

$utils = new Uploady\Utils();

if (
session_destroy()) {
    if (isset(
$_GET['redirect']) && $_GET['redirect'] == "delete") {
       
$utils->redirect($utils->siteUrl('/login.php?msg=delete'));
    }

   
$utils->redirect($utils->siteUrl('/index.php'));
}