UnknownSec Bypass
403
:
/
var
/
www
/
cotutilitydash
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
dash_report.php
<?php require_once "config.php"; $msg=""; $creationdatetime = date("Y-m-d H:m:s"); $area=$_POST['area']; $subarea=$_POST['subarea']; $equipment=$_POST['equipment']; $rmonth=$_POST['rmonth']; $ryear=$_POST['ryear']; session_start(); $userid=$_SESSION['userid']; $query="truncate table tempdatewisereport"; $result=updaterecord($conn,$query); $query=" insert into tempdatewisereport(area,equipment,subarea,consuptiondate,totalconsumption) Select area,equipment,subarea,consuptiondate,totalconsumption from v_consumptiondetails ". " where area='".$area."' and equipment='".$equipment."' and subarea='".$subarea."' and Month(consuptiondate)=2 and Year(consuptiondate)=2024"; $result=insertrecord($conn,$query); if($result==true) { $msg=$query; } else { } echo json_encode ($msg); ?>
Copyright © 2025 - UnknownSec