File manager - Edit - /home/custbahd/irungikitchen.com/admin/logout/index.php
Back
<?php include_once "../db/saucerer.php"; // Initialize the session session_start(); $ip_address = $_SERVER["REMOTE_ADDR"]; $sql = "UPDATE remember SET remember = '' WHERE ip_address = '".$ip_address."'"; //use for MySQLi OOP $conn->query($sql); // Unset all of the session variables $_SESSION = array(); // Destroy the session. session_destroy(); // Redirect to login page header("location: ../secure"); exit; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Generation time: 2.8 |
proxy
|
phpinfo
|
Settings