HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/renovationandremodelingofflorida/public_html/php/contact.php
<?php
echo("Thank you for contacting me. I'll get back to you as soon as possible.");
if (isset($_POST['submit'])) {
      $name= $_POST['name'];
      $mailFrom= $_POST['mail'];
    $contactNumber= $_POST['contactPhone'];
     $subject= $_POST['subject'];
      $message= $_POST['message'];
    
    $mailTo = "[email protected]";
    $headers = "From: ".$mailFrom;
    $txt = "You have received an e-mail from ".$name. ".\n\n".$message;
    
    mail($mailTo, $subject, $txt, $headers);
    header("Location: index1.php?mailsend");
    
}