if ($_POST[action] == 'send')
{
if ((!$_POST[name]) || (!$_POST[email]) || (!$_POST[comments]))
{
$err_msg = 1;
}
else
{
$timestamp = time();
$email_msg = "The following testimonial was submitted from Connecting-Source.com ".date("m/d/Y g:i A",$timestamp).".\n\n";
$email_msg .= "Name: ".stripslashes($_POST[name])."\n";
$email_msg .= "E-Mail: ".stripslashes($_POST[email])."\n";
$email_msg .= "Comments: ".stripslashes($_POST[comments])."\n";
$extra_headers = "From: pat@connecting-source.com\nReturn-Path: pat@connecting-source.com\nReply-to: pat@connecting-source.com\nMessage-ID: <".md5(uniqid(time()))."@www.connecting-source.com>\nMIME-Version: 1.0\nContent-type: text/plain; charset=iso-8859-1\nContent-transfer-encoding: 8bit";
mail("pat@connecting-source.com","Testimonial Submitted from Connecting-Source.com",$email_msg,$extra_headers);
$success = 1;
}
}
?>
Connecting-Source.com