first commit

This commit is contained in:
2024-04-19 14:04:41 +07:00
commit 014283036f
7282 changed files with 1324127 additions and 0 deletions

12
log_out.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
include 'core/main.php';
// get_cookie
$cookie_val = $_COOKIE['PHPSESSID'];
// remove cookie form directory
// echo _DOCROOT_.'sessions/sess_'.$cookie_val;exit;
// unlink(_DOCROOT_.'sessions/sess_'.$cookie_val);
session_destroy();
header("location:index.php");
?>