| Server IP : 104.21.21.239 / Your IP : 216.73.216.101 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/tgnewprod/admin/mod/ |
Upload File : |
<?php
//ini_set('display_errors',1);
//error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
error_reporting(0);
//session_start();
//include('../config.php');
//date_default_timezone_set(APP_TIMEZONE);
/*
$db = new PDO(DB_CONNECT_STRING, DB_USER, DB_PWD);
if (!$db) :
die('Could not connect: ' . 'Database Error!');
else :
$sql_tz = "SET time_zone = '".APP_TIMEZONE."'";
$db->query($sql_tz);
endif;
*/
if (PHP_SAPI == 'cli')
die('This example should only be run from a Web Browser');
$sql = sys_uncompress(sys_decrypt($_GET['sql'], $_SESSION['rand_key']));
sql_to_xls($sql);
exit;
?>