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/completeinsuranceadvisors/public_html/contact.php
<?php
if(!isset( $_POST['name']) || !isset($_POST['email']) || !isset($_POST['message']) ) {
	echo 'something is wrong! Please try agian';
    die();
}
	$email_from = $_POST['email'];
	$email_subject = "Contact Form: Timepiece Template";
	$email_message = "Please find below a message submitted by ".stripslashes($_POST['name'])."\n\n";
	$email_message .=" on ".date("d/m/Y")." at ".date("H:i")."\n\n";
	$email_message .= stripslashes($_POST['message']);

	$headers = 'From: '.$email_from."\r\n" .
   'Reply-To: '.$email_from."\r\n" ;

	mail('[email protected]', $email_subject, $email_message, $headers);
	echo "Thanks for contacting us.";
	die();
?>