|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/abtechsci/mmc15/ezupload/cp/ |
Upload File : |
<?php
session_start();
error_reporting(E_ERROR | E_PARSE);
//check if setup folder exists
if (is_dir('../setup')) {die('Please delete or rename the <b>setup</b> folder from your server for security reasons then refresh this page!');}
include_once("db.class.php");
include_once("Backup_schedule.php");
$sysdt= date('Y-m-d',time());
$sysdtonly= date('Y-m-d-H-i-s');
$setting=new settings();
$temp=$setting->get();
$adminname=$temp[0]->adminname;
$adminpass=$temp[0]->adminpass;
$uformprotect=$temp[0]->uformprotect;
if($_SESSION["U"] == "" || $_SESSION["P"]== "" )
{
header("location: login.php");
exit;
}
if($_SESSION["U"] != $adminname || $_SESSION["P"] != crypt($adminpass,"AF") )
{
header("location: login.php");
exit;
}
//Allow no cache to the browser//
if (!headers_sent())
{
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );
}
?>