|
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
//error_reporting(E_ERROR | E_PARSE);
session_start();
include_once("db.class.php");
$sysdt= date('Y-m-d',time());
$sysdtonly= date('Y-m-d-H-i-s');
$access_control=new access_control();
$temp=$access_control->get();
$formprotect=$temp[0]->formprotect;
$formpass=$temp[0]->formpass;
$takeip=$temp[0]->takeip;
$banned_ips=$temp[0]->banned_ips;
$form_setting=new form_setting();
$temp=$form_setting->get();
$sty=$temp[0]->sty;
$form_name=$temp[0]->form_name;
$location=$temp[0]->location;
$progress=$temp[0]->progress;
$weather=$temp[0]->weather;
$uformprotect=$temp[0]->uformprotect;
/*if( $uformprotect == 1 )
{
if($_SESSION["PU"] == "" || $_SESSION["PP"]== "" )
{
header("location: upload_login.php");
exit;
}
$user=new user();
$temp=$user->get($_SESSION["PU"]);
$name=$temp[0]->name;
$pass=$temp[0]->pass1;
if($_SESSION["PP"] != crypt($pass,"AF") )
{
header("location: upload_login.php");
exit;
}
}*/
if( $uformprotect == 1 )
{
if( $_SESSION["PP"]== "" )
{ //echo "login1 ". $_COOKIE["PP"] ;
header("location: upload_login.php");
exit;
}
}
//Allow no cache to the browser//
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );
?>