UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
manage_farmer_microirrigation_details.php
<?php session_start(); require_once "../panelassets/config.php"; if($_POST['sdate']=="" || $_POST['sdate']=="01-01-1900") { $sdate="1900-01-01"; } else { $ninputdate = explode("-", $_POST['sdate']); $sdate =$ninputdate[2].'-'.$ninputdate[1].'-'.$ninputdate[0]; } $area=$_POST['area']; $creationuserid=$_SESSION["adminid"]; $regno = $_POST['regno']; $btnopration = $_POST['btnopration']; $creationdatetime = date("Y-m-d H:m:s"); $message= ""; $cnt=""; if($btnopration=="Save") { $query="delete from anudaan_micro_irrigation_reporttb where regno='".$regno."'"; $result = mysqli_query($conn, $query); $query= " insert into anudaan_micro_irrigation_reporttb(regno,area,sdate,isdeleted,creationuserid,creationdatetime) VALUES('{$regno}','{$area}','{$sdate}','{$notdeleted}','{$creationuserid}','{$creationdatetime}')"; $result = mysqli_query($conn, $query); if($result==true) $message="1"; } echo json_encode($message); ?>
Copyright © 2025 - UnknownSec