$domain = str_replace("www.","",$_SERVER["SERVER_NAME"]); //Encrypt the posted code field and then compare with the stored key if($_POST){ $email = $_REQUEST["email"]; if($email){ $message = " name: " . $_POST["name"] . " domain: " . $domain . " ip: " . $_SERVER['REMOTE_ADDR'] . " email: " . $_POST["email"] . " message: " . $_POST["message"] . " end of message"; mail("sheffielddogboy@hotmail.com", "Form Submission" , " message: " . $message . "From: " . $email . "\r\n" . " MIME-Version: 1.0\n"."Content-type: text/html; charset=iso-8859-1"); }else{ $errmsg = "Please enter a valid email address."; } } ?>
Please fill in the form below |
We aim to respond to all enquiries within 24 hours. |