include("header.inc") ?> // if submitted form process and send mail if (isset($_POST["comments"])) { $contactname = strip_tags($_POST["contactname"]); $contactemail = strip_tags($_POST["contactemail"]); $comments = strip_tags($_POST["comments"]); $sendto = "viki@prothermographer.com"; $subject = "ProThermographer Feedback"; $message = "From $contactname\n" . " {$_POST["contacttitle"]}\n" . " {$_POST["contactcompany"]}\n" . " {$_POST["contactaddress"]}\n" . " {$_POST["contacttelephone"]} (phone)\n" . " {$_POST["contactfax"]} (fax)\n" . " {$_POST["contactemail"]}\n" . "\n\n{$_POST["comments"]}"; mail($sendto, $subject, $message, "Reply-To: " + $_POST["contactemail"] + "\n"); echo("
Thanks for your feedback. You sent:
\n"); echo("\n");
echo("$message");
echo("");
} else {
?>
} ?>
include("footer.inc") ?>