0) { $upload_DstName[$i] = $prefix . "_" . str_replace(" ", "_", $_FILES[$key]['name']); $upload_SrcName[$i] = $_FILES[$key]['name']; $upload_Size[$i] = ($_FILES[$key]['size']); $upload_Temp[$i] = ($_FILES[$key]['tmp_name']); $upload_Type[$i] = ($_FILES[$key]['type']); $uploadlink[$i] = "$upload_folder/$upload_DstName[$i]"; $upload_fieldname[$i] = $key; $upload_fieldname_final[$i] = ucwords(str_replace("_", " ", $key)); $fieldvalue[$i] = $uploadlink[$i]; $i++; } if ($upload_Size[$i] >= $max_filesize) { $error .= "The size of $key (file: $upload_SrcName[$i]) is bigger than the allowed " . $max_filesize/1024 . " Kbytes!\n"; } } $crack[0] = '\n'; $crack[1] = '\r'; $crack[2] = "%0a"; $crack[3] = "%0d"; $crack[4] = "content-type:"; $crack[5] = "to:"; $crack[6] = "cc:"; $crack[7] = "bcc:"; $crack[8] = "mime-version:"; $crack[9] = "x0a"; $crack[10] = "x0d"; foreach ($_POST as $key => $value) { for ($k = 0; $k < count($crack); $k++) { if (substr_count(strtolower($value), $crack[$k])) { $error .= "The field $key contained e-mail headers ($crack[$k]) in the value submitted. This seems to be a cracking attempt and the message has not been sent.!
"; } } } if ($error) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $error, $errorcode); echo $errorcode; exit; } $uploadfolder = basename($upload_folder); for ($i = 0; $i < count($upload_DstName); $i++) { $uploadFile = $uploadfolder . "/" . $upload_DstName[$i]; if (!is_dir(dirname($uploadFile))) { @RecursiveMkdir(dirname($uploadFile)); } else { @chmod(dirname($uploadFile), 0777); } @move_uploaded_file($upload_Temp[$i] , $uploadFile); chmod($uploadFile, 0644); } $internalfields = array ("submit", "reset", "filesize", "upload_folder", "send", "captcha_code"); $message .= "\n"; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (!is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . "\n"; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . "\n"; } } } if (count($upload_SrcName) > 0) { $message .= "\nThe following file have been uploaded:\n"; for ($i = 0; $i < count($upload_SrcName); $i++) { $message .= $upload_SrcName[$i] . " Link: " . $uploadlink[$i] . "\n"; } } mail($mailto, $subject, stripslashes($message), $header); header('Location: '.$success_url); exit; } ?> La Brehaudais Gites / Booking form
 
'La Brehaudais Gites'
Booking form
Address: La Brehaudais,  22250, Broons,  Bretagne, France.   Web: www.labrehaudaisgites.com  
E-mail: janice@labrehaudaisgites.com  Tel: 0033 (0) 2 96 80 04 70
© Janice Reid 2007-2008
Name                                      *
Address                                  *
 
County                                    *
Post Code                               *
Country                                  * 
Phone                                     *
Day time phone
Email                                      *
Date from                               *
Date to                                   *
Which Cottage                         *
Number adults                         *
Number children                       *
Childrens ages (for welcome gift)
Rental cost                              *
Less discount                          *
Total                                      *
Plus security deposit               *
Total                                       *
Less 25% booking deposit        *                                                                                                                                                                                       
Total outstanding                      *
Paid by
Paid by
i.e. 3yrs   3 months
Payable 8 weeks before date of booking
Must be paid to make a booking
Returnable, subject to terms and conditions
regarding damage to property
* Cheque in GBP £ allow 7 days for your'e cheque to arrive
Paypal
Owl Cottage Deposit
Owl Cottage final payment
A handling fee of £4.00 is payable when paying with PayPal
** cash payments see below
Discount Ref: *
dd/mm/yyyy
dd/mm/yyyy
Terms and conditions
I HAVE READ AND UNDERSTOOD THE TERMS AND CONDITIONS AND ACCEPT THEM ON BEHALF OF EVERYONE
IN MY PARTY WHO WILL RESIDE IN THE  PROPERTY AND ON WHOSE BEHALF.  I AM DULY AUTHORISED TO MAKE
THIS AGREEMENT.  I AGREE TO TAKE OUT A HOLIDAY INSURANCE POLICY WITH A CANCELLATION CLAUSE.
I AM OVER 18 YRS OF AGE.
Check box, to agree to terms and conditions
Kestrel Cottage Deposit
Kestrel Cottage final Payment
This form is legal and binding by both parties and is signed in conjunction with all terms and conditions as stated in items 1 to 15 VIEW TERMS AND CONDITIONS also see SPECIAL OFFERS

IMPORTANT NOTES:
* Cheques made payable to: J REID  and Posted to 54 Hunter Road Norwich NR2 2JY England

**
We only accept cash under certain circumstances, see item 6 of ‘Terms and Conditions’ DO NOT SEND CASH THROUGH THE POST

Lettings are from Saturday 3.00 pm to Saturday 10.00 am. Other arrival and departure days and times may be possible on request.

What Happens Next?

If you have sent a cheque:   A Deposit Receipt and Two Confirmation of Booking forms’ will be sent to you on receipt of your deposit.   Please return ONE COMPLETED and SIGNED copy of the ‘Confirmation of Booking form' with the balance due, by the due date (allowing 7 days for delivery of a cheque) and keep one for your own records.

If you paid by pay pal: A Deposit Receipt and a Confirmation of Booking form will be E-mailed to you when you're payment has been cleared.  You will then be reminded by E-mail 9 weeks before you are due to arrive, to complete the final payment from on line and pay through pay pal.
See notes below before you press send button
All feilds with * must be completed, if the answer is 0 please place 0 in the box