Server IP : 149.202.105.228 / Your IP : 216.73.216.134 Web Server : Apache System : Linux webm129.cluster030.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : atfycaf ( 116275) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/a/t/f/atfycaf/www/admin/ |
Upload File : |
<?php include "globalVars.php"; $logoutDate = date("Y-m-d H:i:s"); mysqli_query($conn, "UPDATE admin SET lastLogout = '$logoutDate' WHERE id = '$adminID'"); mysqli_query($conn, "INSERT INTO userActions (dateCreated, adminID, pageTracking, databaseUpdated, updateDetails) VALUES ('$logoutDate', '". $adminID ."', 'admin/logout.php', 'admin', 'The User ". $adminName ." <". $adminEmail ."> logged out')"); setcookie ($cookieName, "", time() - 3600); unset($_SESSION["SESSION_lIU"]); session_destroy(); header("location: $url"); ?>