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/process_form.php
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST")
 {
    $name    = htmlspecialchars($_POST['name']);
    $email   = htmlspecialchars($_POST['email']);
    $message = htmlspecialchars($_POST['message']);

    $to = "[email protected]";
    $subject = "New Contact Submission";
    $body = "Name: $name\nEmail: $email\nMessage:\n$message";

    if (mail($to, $subject, $body))
        {
        echo "Message sent successfully!";
       } 
     else 
        {
        echo "Failed to send message.";
       }
}
?>


Anon7 - 2021