'; $error = false; // determine is the form was submitted $submit = $_POST['submit']; if (empty($submit)) $form_submitted = false; else $form_submitted = true; if ($form_submitted) { // read out data $name = $_POST['name']; $company = $_POST['company']; $email = $_POST['email']; $phone = $_POST['phone']; $subject = $_POST['subject']; $message = $_POST['message']; // verify required data if(!$name) { $error_msg .= "
  • Full Name
  • "; $error = true; } if(!$email) { $error_msg .= "
  • E-mail Address
  • "; $error = true; } if(!$subject) { $error_msg .= "
  • Subject
  • "; $error = true; } if(!$message) { $error_msg .= "
  • Message
  • "; $error = true; } if($email) { if(!eregi("^[a-z0-9_]+@[a-z0-9\-]+\.[a-z0-9\-\.]+$", $email)){ $error_msg .= "
  • E-mail Address
  • "; $error = true; }} $error_msg .= ""; // email message if no errors occurred if (!$error) { // prepare message $msg = "Full Name: \t $name \n"; $msg .= "Company: \t $company \n"; $msg .= "E-mail Address: \t $email \n"; $msg .= "Phone Number: \t $phone \n"; $msg .= "Message: \n---\n $message \n---\n"; // prepare message header $mailheaders = "MIME-Version: 1.0\r\n"; $mailheaders .= "Content-type: text/plain; charset=iso-8859-1\r\n"; $mailheaders .= "From: $name <$email>\r\n"; $mailheaders .= "Reply-To: $name <$email>\r\n"; // send out email mail(kContactEmail, $subject ,stripslashes($msg), $mailheaders); } } ?> Contact Us

    Contact Us

    Thank you for your feedback, . This is the information you submitted:

    " . $error_msg . "\n"; } ?> Please fill out and submit the form on this page to contact us. We will get back to you as soon as we can. Note that fields marked with (*) are required fields.
    Full Name (*)
    Company
    E-mail Address (*)
    Phone Number
    Subject (*)
    Message (*)