Click Here for our MAIN page!"; }else { &censored_word_check; if (($mail eq '1') && ($error != 1)) { open (MAIL, "|$mailprog $recipient") || die "Can't open $mailprog!\n"; print MAIL "Reply-to: $FORM{'Email'} ($FORM{'Name'})\n"; print MAIL "From: $FORM{'Email'} ($FORM{'Name'})\n"; print MAIL "To: $FORM{'MailName'}\@myemail.com\n"; print MAIL "Subject: $FORM{'Subject'}\n\n"; print MAIL "Sent by $FORM{'Name'} ($FORM{'Email'}) on $date\n"; print MAIL "------------------------------------------------------\n\n"; print MAIL "Email: $FORM{'Email'}\n"; print MAIL "Subject: $FORM{'Subject'}\n"; if ( $FORM{'Street'} ){ print MAIL "Street: $FORM{'Street'}\n"; } if ( $FORM{'Town'} ){ print MAIL "Town: $FORM{'Town'}\n"; } if ( $FORM{'State'} ){ print MAIL "State: $FORM{'State'}\n"; } if ( $FORM{'Postcode'} ){ print MAIL "Postcode: $FORM{'Postcode'}\n"; } if ( $FORM{'Country'} ){ print MAIL "Country: $FORM{'Country'}\n"; } if ( $FORM{'Telephone'} ){ print MAIL "Telephone: $FORM{'Telephone'}\n"; } if ( $FORM{'Fax'} ){ print MAIL "Fax: $FORM{'Fax'}\n"; } if ( $FORM{'Email2'} ){ print MAIL "Email2: $FORM{'Email2'}\n"; } if ( $FORM{'Car_Type'} ){ print MAIL "Car Type: $FORM{'Car_Type'}\n"; } else { print MAIL "Car Type: $FORM{'car'}\n"; } if ( $FORM{'BabySeats'} ){ print MAIL "Baby Seats: $FORM{'BabySeats'}\n"; } if ( $FORM{'Mvr'} ){ print MAIL "MVR: $FORM{'Mvr'}\n"; } if ( $FORM{'Age'} ){ print MAIL "Age: $FORM{'Age'}\n"; } if ( $FORM{'Passengers'} ){ print MAIL "Passengers: $FORM{'Passengers'}\n"; } if ( $FORM{'Pick-up_Location'} ){ print MAIL "Pick-up Location: $FORM{'Pick-up_Location'}\n"; } if ( $FORM{'pickupdate'} ){ print MAIL "Pick-Up Date: $FORM{'pickupdate'}\n"; }else { print MAIL "Pick-Up Date: $FORM{'PickUpDay'} $FORM{'PickUpMonth'} $FORM{'PickUpYear'}\n"; } if ( $FORM{'pickuptime'} ){ print MAIL "Pick-Up Time: $FORM{'pickuptime'}\n"; }else { print MAIL "Pick-Up Time: $FORM{'PickUpHour'}:$FORM{'PickUpMinute'}\n"; } if ( $FORM{'Drop_Location'} ){ print MAIL "Drop-Off Location: $FORM{'Drop_Location'}\n"; } if ( $FORM{'dropoffdate'} ){ print MAIL "Drop-Off Date: $FORM{'dropoffdate'}\n"; }else { print MAIL "Drop-Off Date: $FORM{'DropOffDay'} $FORM{'DropOffMonth'} $FORM{'DropOffYear'}\n"; } if ( $FORM{'dropofftime'} ){ print MAIL "Drop-Off Time: $FORM{'dropofftime'}\n"; }else { print MAIL "Drop-Off Time: $FORM{'DropOffHour'}:$FORM{'DropOffMinute'}\n"; } if ( $FORM{'DaysRental'} ){ print MAIL "Days Rental: $FORM{'DaysRental'}\n"; } if ( $FORM{'Airline'} ){ print MAIL "Airline: $FORM{'Airline'}\n"; } if ( $FORM{'Flight_Number'} ){ print MAIL "Flight Number: $FORM{'Flight_Number'}\n"; } if ( $FORM{'Arrival_Time'} ){ print MAIL "Arrival Time: $FORM{'Arrival_Time'}\n"; } if ( $FORM{'Travel_Plans'} ){ print MAIL "Travel Plans: $FORM{'Travel_Plans'}\n"; } if ( $FORM{'Comments'} ){ print MAIL "Comments: $FORM{'Comments'}\n"; } if ( $FORM{'CardType'} ){ print MAIL "Card Type: $FORM{'CardType'}\n"; } if ( $FORM{'CardNo'} ){ print MAIL "Card No: $FORM{'CardNo'}\n"; } if ( $FORM{'CardExpiryDate'} ){ print MAIL "Card Expiry: $FORM{'CardExpiryDate'}\n"; } if ( $FORM{'NameOnCard'} ){ print MAIL "Name on Card: $FORM{'NameOnCard'}\n\n"; } print MAIL "------------------------------------------------------\n"; print MAIL "Generated by: Carmail.pl\n"; close (MAIL); } if (($remote_mail eq '1') && ($error != 1)) { open (MAIL, "|$mailprog -t") || die "Can't open $mailprog!\n"; print MAIL "To: $FORM{'Email'}\n"; print MAIL "From: $FORM{'MailName'}\@myemail.com\n"; print MAIL "Subject: $FORM{'Subject'}\n\n"; print MAIL "We will advise you soon about your booking.\n\n"; print MAIL "Received from $FORM{'Name'} ($FORM{'Email'}) on $date\n"; print MAIL "------------------------------------------------------\n\n"; print MAIL "Email: $FORM{'Email'}\n"; print MAIL "Subject: $FORM{'Subject'}\n"; if ( $FORM{'Street'} ){ print MAIL "Street: $FORM{'Street'}\n"; } if ( $FORM{'Town'} ){ print MAIL "Town: $FORM{'Town'}\n"; } if ( $FORM{'State'} ){ print MAIL "State: $FORM{'State'}\n"; } if ( $FORM{'Postcode'} ){ print MAIL "Postcode: $FORM{'Postcode'}\n"; } if ( $FORM{'Country'} ){ print MAIL "Country: $FORM{'Country'}\n"; } if ( $FORM{'Telephone'} ){ print MAIL "Telephone: $FORM{'Telephone'}\n"; } if ( $FORM{'Fax'} ){ print MAIL "Fax: $FORM{'Fax'}\n"; } if ( $FORM{'Email2'} ){ print MAIL "Email2: $FORM{'Email2'}\n"; } if ( $FORM{'Car_Type'} ){ print MAIL "Car Type: $FORM{'Car_Type'}\n"; } else { print MAIL "Car Type: $FORM{'car'}\n"; } if ( $FORM{'BabySeats'} ){ print MAIL "Baby Seats: $FORM{'BabySeats'}\n"; } if ( $FORM{'Mvr'} ){ print MAIL "MVR: $FORM{'Mvr'}\n"; } if ( $FORM{'Age'} ){ print MAIL "Age: $FORM{'Age'}\n"; } if ( $FORM{'Passengers'} ){ print MAIL "Passengers: $FORM{'Passengers'}\n"; } if ( $FORM{'Pick-up_Location'} ){ print MAIL "Pick-Up Location: $FORM{'Pick-up_Location'}\n"; } if ( $FORM{'pickupdate'} ){ print MAIL "Pick-Up Date: $FORM{'pickupdate'}\n"; }else { print MAIL "Pick-Up Date: $FORM{'PickUpDay'} $FORM{'PickUpMonth'} $FORM{'PickUpYear'}\n"; } if ( $FORM{'pickuptime'} ){ print MAIL "Pick-Up Time: $FORM{'pickuptime'}\n"; }else { print MAIL "Pick-Up Time: $FORM{'PickUpHour'}:$FORM{'PickUpMinute'}\n"; } if ( $FORM{'Drop_Location'} ){ print MAIL "Drop-Off Location: $FORM{'Drop_Location'}\n"; } if ( $FORM{'dropoffdate'} ){ print MAIL "Drop-Off Date: $FORM{'dropoffdate'}\n"; }else { print MAIL "Drop-Off Date: $FORM{'DropOffDay'} $FORM{'DropOffMonth'} $FORM{'DropOffYear'}\n"; } if ( $FORM{'dropofftime'} ){ print MAIL "Drop-Off Time: $FORM{'dropofftime'}\n"; }else { print MAIL "Drop-Off Time: $FORM{'DropOffHour'}:$FORM{'DropOffMinute'}\n"; } if ( $FORM{'DaysRental'} ){ print MAIL "Days Rental: $FORM{'DaysRental'}\n"; } if ( $FORM{'Airline'} ){ print MAIL "Airline: $FORM{'Airline'}\n"; } if ( $FORM{'Flight_Number'} ){ print MAIL "Flight Number: $FORM{'Flight_Number'}\n"; } if ( $FORM{'Arrival_Time'} ){ print MAIL "Arrival Time: $FORM{'Arrival_Time'}\n"; } if ( $FORM{'Travel_Plans'} ){ print MAIL "Travel Plans: $FORM{'Travel_Plans'}\n"; } if ( $FORM{'Comments'} ){ print MAIL "Comments: $FORM{'Comments'}\n"; } if ( $FORM{'CardType'} ){ print MAIL "Card Type: $FORM{'CardType'}\n"; } if ( $FORM{'CardNo'} ){ print MAIL "Card No: xxxxxxxxxxxxx\n"; } if ( $FORM{'CardExpiryDate'} ){ print MAIL "Card Expiry: xx-xx\n"; } if ( $FORM{'NameOnCard'} ){ print MAIL "Name on Card: $FORM{'NameOnCard'}\n\n"; } print MAIL "------------------------------------------------------\n"; print MAIL "Generated by: Carmail.pl\n"; close (MAIL); } # Print Beginning of HTML print <<"END";
Please contact the server administrator, webmaster@sydney-hotels.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request --. END_HTML exit; } } } sub check_url { # Localize the check_referer flag which determines if user is valid. # local($check_referer) = 0; # If a referring URL was specified, for each valid referer, make sure # # that a valid referring URL was passed to FormMail. # if ($ENV{'HTTP_REFERER'}) { foreach $referer (@referers) { if ($ENV{'HTTP_REFERER'} =~ m|https?://([^/]*)$referer|i) { $check_referer = 1; last; } } } else { $check_referer = 1; } # If the HTTP_REFERER was invalid, send back an error. # if ($check_referer != 1) { &error('bad_referer') } }