| Server IP : 172.67.201.108 / Your IP : 216.73.217.54 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/mitzvahm/wwwdevplanner/admin/ |
Upload File : |
<?php
$_GET = filter_input_array(INPUT_GET, FILTER_SANITIZE_STRING);
$_POST = filter_input_array(INPUT_POST, FILTER_SANITIZE_STRING);
$_REQUEST['IX'] = filter_var($_REQUEST['IX'], FILTER_SANITIZE_STRING);
$_REQUEST['id'] = filter_var($_REQUEST['id'], FILTER_SANITIZE_STRING);
$_REQUEST['ref'] = filter_var($_REQUEST['ref'], FILTER_SANITIZE_STRING);
$_REQUEST['prepop_id'] = filter_var($_REQUEST['prepop_id'], FILTER_SANITIZE_STRING);
$_REQUEST['prepop_type'] = filter_var($_REQUEST['prepop_type'], FILTER_SANITIZE_STRING);
$_REQUEST['ref'] = filter_var($_REQUEST['ref'], FILTER_SANITIZE_STRING);
session_start();
define('TIMEZONE', 'America/New_York');
date_default_timezone_set(TIMEZONE);
include_once('db_conn.php');
$con = mysqli_connect($db_server,$db_user,$db_pwd, $GLOBALS["db_name"]);
if (!$con) :
die('Could not connect!');
else :
mysqli_set_charset($con, "UTF8");
$sql_tz = "SET time_zone = 'America/New_York'";
mysqli_query($GLOBALS['con'], $sql_tz);
endif;
$authorized_call = 1;
$call = mysqli_real_escape_string($GLOBALS['con'], $_GET['call']);
include_once('mod/_functions.php');
if ($call != 'logout_check') :
$_SESSION['timeout'] = time() + $app_timeout;
endif;
if (page_allowed($call)) :
include_once('mod/'.$call.'.php');
else :
echo 'Not Authorized!';
endif;
?>