uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : server.wtmmart.in
Kernel : Linux server.wtmmart.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home2
/
wtmwscom
/
perl5
/
..
/
mail
/
..
/
public_html
/
css
/
..
/
admin
/
delete.php
/
/
<?php session_start(); include '../connection.php'; //include 'lib.php'; include '../function_lib.php'; if(!isset($_SESSION['userid'])) redirect('product_user_list.php'); if(isset($_GET['recid']) && isset($_GET['table'])){ $table = $_GET['table']; $recid = $_GET['recid']; //$recid_field_name = $table == 'group' ? 'group_id' : 'price_id'; $recid_field_name = $_GET['rfn']; if($_GET['file'] ==0){ mysqli_query($connection, "delete from `$table` where $recid_field_name = '$recid'"); } else{ $filename = mysqli_fetch_object(mysqli_query($connection, "select filename from $table where $recid_field_name = '$recid'"))->filename; if(!empty($filename)) unlink('p_upload/'.$filename); mysqli_query($connection, "delete from `$table` where $recid_field_name = '$recid'"); } setMessage("Success", "succ"); redirect($_GET['redirect']); } ?>
/home2/wtmwscom/perl5/../mail/../public_html/css/../admin/delete.php