тест php include includes session php require_once function func php s

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
тест
<?php
include("includes/session.php");
require_once("function/func.php");
session_start();
$_SESSION = array();
if(isset($_COOKIE[session_name()])) {
setcookie(session_name(), '', time()-42000, '/');
}
session_destroy();
redirect_to("login.php?logout=1");
?>