




Form data is OK.
'; //print_r($_POST); //echo ''; // get the posted values $firstname = $_POST["first_name"]; $lastname = $_POST["last_name"]; $email = $_POST["email"]; $phone = $_POST["phone"]; $comments = $_POST["comments"]; $contact_type = "Regular Contact Form"; $name = "$firstname $lastname"; $timenow = date("m-d-Y"); $Subject = "Contact Form"; $browser = getenv('HTTP_USER_AGENT'); $ip = getenv('REMOTE_ADDR'); // format message $message = " Date: $timenow Name: $firstname $lastname Email: $email Phone: $phone ----------------------------- Comments: $comments ----------------------------- IP: $ip Browser: $browser ** Note all email addresses have been stripped of the 'at' sign and replaced with '_at_'. This is to protect the form from being used as a spam relay. ** "; // yank any @ symbols out to make sure no one can use this to spam anyone // except the intended recipient $message = str_replace("@","_at_",$message); // want to send an SMS message? send it via teleflip // format the teleflip message $message2 = " $firstname $lastname ($areacode) $localcode-$phonenumbers "; // send the contact to the intended recipient $hurrah = safe_mail("youremail@yourdomain.com",$Subject,$message); // send the SMS? uncomment line below and replace 1231231234 with the appropriate phone number //$hurrah = safe_mail("1231231234@teleflip.com",$Subject,$message); if($hurrah != TRUE) { echo "Internal mailer error.
Message sent.
Thank you for your interest. We will be contacting you shortly.





Form data is OK.
'; //print_r($_POST); //echo ''; // get the posted values $firstname = $_POST["first_name"]; $lastname = $_POST["last_name"]; $email = $_POST["email"]; $phone = $_POST["phone"]; $comments = $_POST["comments"]; $contact_type = "Regular Contact Form"; $name = "$firstname $lastname"; $timenow = date("m-d-Y"); $Subject = "Contact Form"; $browser = getenv('HTTP_USER_AGENT'); $ip = getenv('REMOTE_ADDR'); // format message $message = " Date: $timenow Name: $firstname $lastname Email: $email Phone: $phone ----------------------------- Comments: $comments ----------------------------- IP: $ip Browser: $browser ** Note all email addresses have been stripped of the 'at' sign and replaced with '_at_'. This is to protect the form from being used as a spam relay. ** "; // yank any @ symbols out to make sure no one can use this to spam anyone // except the intended recipient $message = str_replace("@","_at_",$message); // want to send an SMS message? send it via teleflip // format the teleflip message $message2 = " $firstname $lastname ($areacode) $localcode-$phonenumbers "; // send the contact to the intended recipient $hurrah = safe_mail("youremail@yourdomain.com",$Subject,$message); // send the SMS? uncomment line below and replace 1231231234 with the appropriate phone number //$hurrah = safe_mail("1231231234@teleflip.com",$Subject,$message); if($hurrah != TRUE) { echo "Internal mailer error.
Message sent.
Thank you for your interest. We will be contacting you shortly.