";
if(strlen($subject) == 0) $errorstring .="You must specify a subject.
";
if(strlen($message) == 0) $errorstring .="You have not entered a message.
";
if(strlen($youremail) < 9 || strlen($youremail) > 64) $errorstring .= "Please enter a valid email address.
";
if(strlen($errorstring) == 0){
$subject = "Contact from the ".$sitename." site - ".$subject;
$sent = mail($siteemail, $subject, $message, "FROM: ".$youremail);
if($sent) $showform = 0;
}
}
?>
|
Any questions or comments about the site or services we offer, feel free to contact us using the form below: 48 hours. Thanks for your comments, ".$sitename." "; ?> |