Uploaded the files.

This commit is contained in:
Batuhan Berk Başoğlu 2024-05-17 16:57:41 -04:00
commit 37661b3ee7
374 changed files with 90632 additions and 0 deletions

17
logout.php Normal file
View file

@ -0,0 +1,17 @@
<?php
session_start();
unset($_SESSION["uid"]);
unset($_SESSION["name"]);
$BackToMyPage = $_SERVER['HTTP_REFERER'];
if(isset($BackToMyPage)) {
header('Location: '.$BackToMyPage);
} else {
header('Location: index.php'); // default page
}
?>