Просмотр файла exit.php

Размер файла: 1.68Kb
<?php
#############################################
# 0JXRgdC70Lgg0YLRiyDRh9C40YLQsNC10YjRjCDRj #
# dGC0L4g0YHQvtC+0LHRidC10L3QuNC1LCDQt9C90L #
# DRh9C40YIg0YLRiyDQvdC10LzQvdC+0LPQviDQt9C #
#          90LDQtdGI0YwgUEhQIQ==            #
#__---------------------------------------__#
#__        0JrQu9C40Log0JrQu9GD0LE=       __#
#  ---------------------------------------  #
# 0JDQstGC0L7RgCA6IE1vcmdhbg==              #
# SUNRIDog0L3QtSDRgdC60LDQttGDIHhE          #
#                                           #
#############################################

require 'inc/start.php';
require 'inc/regvars.php';
require 'inc/db.php';
require 'inc/config.php';
require 'inc/funct.php';
require 'inc/antidos.php';
require 'inc/gzip.php';
require 'inc/header.php';

only_reg('/aut.php?',true);

/*
unset($_SESSION['auth']);
setcookie('auth[login]','');
setcookie('auth[pass]','');

session_unset();
setcookie(session_name(),'');
session_destroy();
*/

#array_dump($_SESSION);

#unset($_SESSION['auth']);
#setcookie('auth_login');
#setcookie('auth_pass');
#setcookie(session_name());
#session_unset();
#session_destroy();

/*
unset($_SESSION);
setcookie('auth_login');
setcookie('auth_pass');
setcookie(session_name());


#array_dump($_COOKIE);
location('index.php');
*/

unset($_SESSION['auth']);
setcookie('auth_login', '');
setcookie('auth_pass', '');
session_unset();
setcookie(session_name(), '');
session_destroy();
location('index.php');
exit;


################################################
# 0KHQutGA0LjQv9GCINC90LUg0L/QsNCx0LvQuNC6IQ== #
#   0KHRgtCw0LLRgNC+0L/QvtC70YwsIDIwMDkg0LMu   #
################################################

?>