exit; error_reporting(0); $codevv=72; include 'header.php'; if (isset($_POST["sendemail"])) { // this means no result if (strstr($_POST["sendemail"],'send!') && !strstr($_POST['comment'],'href')) { $now= date("g:i a M d, Y"); if (strstr($_POST['email'],"@") && !strstr($_POST['email'],"ecomshare")) { $mail_body="at $now\n$_POST[name] asked:\n"; $mail_body.=stripslashes($_POST["question"]); $mail_body.="\nPhone: ".$_POST["phone"]." \n Email: ".$_POST["email"]."\n re:".$_POST["regarding"]."\n ".$_POST['comment']."\n\n\n from: $_SERVER[REMOTE_ADDR]"; //foreach($_POST as $key => $val) $mail_body .= "\n $key -> $val"; //foreach($_SERVER as $key => $val) $mail_body .= "\n s $key -> $val"; mail("info@ecomshare.com,barneytreadway@gmail.com","Request from Ecomshare Website", $mail_body, "From: web"); } else { echo " That wasn't an email address. Please hit the back arrow and try again."; exit; } } else { // friggin hacker //foreach($_POST as $key => $val) $mail_body .= "\n $key -> $val"; //foreach($_SERVER as $key => $val) $mail_body .= "\n s $key -> $val"; //mail("info@ecomshare.com","Hack of contact.php", $mail_body, ""); echo "no thanks $_SERVER[REMOTE_ADDR]"; exit; } } ?>
echo blurber();?>
|
|
|||||||
echo str_replace('@','@',nl2br(stripslashes($content_array["text2"])));?>
|
if (isset($_POST['sendemail'])) { ?> Thank you for your inquiry! We will contact you shortly should a reply be requested. Send another inquiry? } else { ?>
} ?>
|