Mini Shell Moded By TiGER HeX
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
var
/
www
/
ridazz
/
includes
/
Linux midnightridazz 4.19.0-11-cloud-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64
Upload File :
New :
File
Dir
//var/www/ridazz/includes/appTop-pdo.php
<?php header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); // HTTP/1.0 $db = new sql_db_pdo(); if(!$db->db_connect_id){die("Unable to connect to sql server");} session_start(); //update current session if(isset($_SESSION['user_id'])){ } //delete old sessions //$sql = "DELETE FROM 50mm_online WHERE expires < '" . time() . "'"; //if( !($result = $db->sql_query($sql)) ){ // $sql_error = $db->sql_error(); // die($sql_error['message']); //} //delete old forum entries /*$expires = time() - FORUM_LIFE; $expires = date('Y-m-d G:i:s', $expires); $sql = "DELETE 50mm_forum_topics.*,50mm_forum_replies.* FROM 50mm_forum_topics t LEFT JOIN 50mm_forum_replies r ON t.topic_id = r.topic_id WHERE t.last_reply < '$expires'"; if( !($result = $db->sql_query($sql)) ){ $sql_error = $db->sql_error(); die($sql_error['message']); } */ ?>