Gallery Testimonials About me Contact me Links
Beautiful Wedding Stationery designed and hand crafted exclusively for your special day.
'; } else { $first_name = $_POST['realname']; // required $last_name = $_POST['Surname']; // required $phone = $_POST['Phone']; // required $email_from = $_POST['email']; // required $type = $_POST['Type']; // required $contact_type = $_POST['contacttype']; // required $details = isset($_POST['details']) ? $_POST['details'] : "Not supplied"; // required $event_date = $_POST['EventDate']; // required $error_message = ""; $email_exp = "^[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$"; if(!eregi($email_exp,$email_from)) { $error_message .= '
  • The Email Address you entered does not appear to be valid.
  • '; } $string_exp = "^[a-z .'-]+$"; if(!eregi($string_exp,$first_name)) { $error_message .= '
  • The First Name you entered does not appear to be valid.
  • '; } if(!eregi($string_exp,$last_name)) { $error_message .= '
  • The Last Name you entered does not appear to be valid.
  • '; } $phone_exp = "^[0-9 .+\(\)-]+$"; if(!eregi($phone_exp,$phone)) { $error_message .= '
  • The Phone number you entered does not appear to be valid.
  • '; } //if(strlen($details) < 2) { // $error_message .= '
  • The Comments you entered do not appear to be valid.
  • '; //} require_once('recaptchalib.php'); $privatekey = "6Le6b8ASAAAAABgVmexTs8dgkgMPXv4NhLtkJm1_"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens when the CAPTCHA was entered incorrectly $error_message .= "
  • The reCAPTCHA wasn't entered correctly.
  • " ; } if(strlen($error_message) > 0) { print ''; } else { $email_message = "Form details below.\n\n"; $email_message .= "First Name: ".clean_string($first_name)."\n"; $email_message .= "Last Name: ".clean_string($last_name)."\n"; $email_message .= "Email: ".clean_string($email_from)."\n"; $email_message .= "Details: ".clean_string($details)."\n"; // create email headers $headers = 'From: '.$email_from."\r\n". 'Reply-To: '.$email_from."\r\n" . 'X-Mailer: PHP/' . phpversion(); @mail($email_to, $email_subject, $email_message, $headers); print ''; } } ?>
    We are sorry, but there appears to be a problem with the form you submitted. Please click back and complete all the fields marked with *
    We are sorry, but there were error(s) found in the form you submitted:
      ' . $error_message . '
    Please click back and try again.

    Thank you for contacting me. I will be in touch soon