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