session_start(); ?>
session_start();
// Secure PHP Form Mailer Script v4.2
// Created by Aleister
// http://www.dagondesign.com/articles/secure-php-form-mailer-script/
// Visit site for help, and new versions, including a Wordpress plugin version
// --------------------------------
// START OF OPTIONS
// --------------------------------
// RECIPIENTS
// ----------
// One: "onerecip|(email)"
// Multiple: "mulrecip|(cc or bcc)|(email 1)|(email 2) etc.. "
// Drop-down: "selrecip"
// (the drop-down data must be added to the form structure below)
$recipients = "onerecip|lisa@towncreekcottages.com"; //CHANGE THIS TO MATCH CLIENT
// FORM STRUCTURE
// --------------
// Please see the website for a full explanation of the structure.
// It is easy to use, but a bit too long to explain here :)
$form_structure = array(
"openfieldset|fmset",
"text|fmtext|Name|fm_name|30|50|true|none",
"text|fmtext|Address|fm_address|30|50|true|none",
"text|fmtext|City|fm_city|20|30|true|none",
"text|fmtext|State|fm_state|2|2|true|none",
"text|fmtext|Zip|fm_zip|10|10|true|none",
"text|fmtext|Telephone|fm_phone|20|20|true|none",
"text|fmtext|Best time to call|fm_best|20|20|true|none",
"text|fmtext|Your Email|fm_email|30|50|true|email",
"text|fmtext|#Adults|fm_noadults|2|2|true|none",
"text|fmtext|#Children|fm_nochilds|2|2|true|none",
"select|fmselect|Bringing Pets?|fm_pets|false|No|No|Yes|Yes",
"select|fmselect|Cottage Preference|fm_choice|false|Select One|Select One|Iris|Iris|Azalea|Azalea|Fern|Fern|Laurel|Laurel|Holly|Holly|Blackberry|Blackberry",
"select|fmselect|Second Choice|fm_second|false|Select One|Select One|Iris|Iris|Azalea|Azalea|Fern|Fern|Laurel|Laurel|Holly|Holly|Blackberry|Blackberry",
"text|fmtext|Arrival Date|fm_ardate|20|20|true|none",
"text|fmtext|Departure Date|fm_depdate|20|20|true|none",
"select|fselect|Paying by:|fm_pay|false|Cash|Cash|Check|Check|Credit Card|Credit Card",
"text|fmtext|Verify: type the digits from the blue box|fm_verify|7|5|true|none",
"info|fminfofull| ",
"textarea|fmtextarea|Do you have special needs while visiting with us? Comment?|fm_message1|6|38|false",
"info|fminfofull|Check in 3:00pm Check out 11:00am",
"info|fminfofull|2 night minimum - 3 night minimum Holidays & October",
"info|fminfofull|Small pets welcome with a $25 Pet Fee",
"closefieldset"
);
// SPECIAL FIELDS
// ----------------
// This lets the script know the names of the 'special' fields
//
// VERIFICATION FIELD
// To enable verification, set this to "fm_verify", and
// add the verification line to the form structure
// To disable verification, set this to "", and
// delet the verification line to the form structure
$field_verification = "fm_verify";
// EMAIL HEADER FIELDS
// These are the fields that will be used to generate the header
// for the email(s). If these are set to "", the email will use
// the default values (and you will not see the user's info in
// the email header - only in the message)
$field_name = "fm_name";
$field_subject = "fm_subject";
$field_email = "fm_email";
// DROP DOWN RECIPIENT
// Only applies if you are using a drop down to select a recipient
$field_dropdownrecip = "fm_sendto";
// FORM OPTIONS
// ------------
// SHOW USER WHICH FIELDS ARE REQUIRED
//
// If enabled, this will put an asterisk next to required fields.
// (styled with .fmrequired)
$show_required = TRUE;
// MESSAGE GENERATION
// ------------------
// SUBJECT [PREFIX]
// If you ask for a subject, this will be its prefix.
// If not, this will be the complete subject line.
$subject = 'Website Reservation Request: ';
// SHOW HEADER FIELDS IN MESSAGE
// If using name, email, and/or subject fields in the email header,
// disabling this option will keep those fields from being shown in the
// body of the message. (since the information will already be in the header)
$show_headers_in_message = TRUE;
// SHOW VERIFICATION CODE IN MESSAGE
// If enabled, this will show the entered code in the email.
$show_code_in_message = FALSE;
// WRAP MESSAGES
// Required to meet RFC specifications (70 characters per line).
$wrap_messages = TRUE;
// INCLUDE IP
// If enabled, adds the sender's IP and host info to the message
$include_ip = FALSE;
// LANGUAGE OPTIONS
// ----------------
// SERVER ERROR MESSAGE
// Shown when message cannot be sent (do not use html tags).
$msg_mailserver = "No connection to the mailserver. Please try again later.";
// SUCCESS MESSAGE
// Shown when message has been sent (you can use html tags).
$msg_sent = ''; //CHANGE THIS TO MATCH CLIENT
// FORM ERROR MESSAGE
// Shown when there is a mistake on the form
// (do not use html tags - styled with .fmerrortitle).
$msg_error = "Error!";
// SUBMIT BUTTON
// The text for the send button (do not use html tags).
$msg_submit = "Send Reservations Request";
// --------------------------------
// END OF OPTIONS
// --------------------------------
?>
|
Take a Tour ·
Pick a Cottage ·
Contact Us ·
Special Events |
© Copyright 2001 by WLH Properties, Inc ... All rights reserved