chdir("script");
include("common.php");
include("header.php");
$tomail = $adminemail;
if($name && $email2){
$subject = "$sitename -- Contact Page";
while( list($key,$val) = each($_POST) ){
$amsg .= "$key : $val
\n";
}
$headers = "From: $name <$email2>\r\nReply-To: $replyto\r\n";
$headers .= "X-Sender: <$email2>\n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "Return-Path: <$tomail>\n"; // Return path for errors
$headers .= "Content-type: text/html\n\n";
mail($tomail,$subject,$amsg, $headers);
echo "message sent
";
}
?>
Welcome to our contact us page, feel free to send us any comments/questions. | |
Your Email: | |
Subject: | |
Comments: | |
3 Simple Rules to Follow: 1.) No Spamming (NO unsolicited e-mails) - Spamming will not be tolerated, and spammers will be blocked from our site. 2.) Use a real email address - Fake email addresses take up both your time and our's, so please use a valid e-mail address. If you are unable to provide an e-mail address, please use NA@NA.COM. 3.) Please keep this e-mail free of profane words (ie cuss words). Any use of profanity will result with an ignored e-mail. By hitting the submit button, you state that you agree to the above rules. |
|