Acacia Care Home, Shanklin, Isle of Wight
Dining room Acacia Care Home Holding hands Back garden
Ms Julie Coombs
Acacia Care Home
1 Arthurs Hill
Isle of Wight
PO37 6EW

tel: 01983 863845
fax: 01983 863845

Contact us

Known spam bots are not allowed.

"); } foreach ($_POST as $key => $value) { $value = trim($value); If (preg_match($exploits, $value)) { exit("

Exploits/malicious scripting attributes aren't allowed.

"); } elseif (preg_match($profanity, $value) || preg_match($spamwords, $value)) { exit("

That kind of language is not allowed through our form.
If you have a genuine message please go back and try again.

We apologise for the inconvenience. (Unless you are a spammer).

"); } $_POST[$key] = stripslashes(strip_tags(trim($value))); } /////////////////////////////////////////END SPAM BOTS///////////// //////////GB form stuff//////////////////////////// if ($_POST[uemail] !="") { $uemail = "$_POST[uemail]"; } $uemail = strtolower($uemail); // Or the email doesn't seem to be properly formed or has illegal email characters if(!ereg("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,6})", "$uemail")) { echo('

Invalid Email Address:

The email address you have submitted seems to be invalid.

Using your “Back” button, please go back and check the address you entered.

'."\n"); die(); } ///////////////////////////////////////////////////////////////////////////////////////////////////// // Set up the email message header $message = "You have received an enquiry from your web site\n"; $message .= "The enquiry was as follows: \n \n"; foreach ($_POST as $key => $value) { IF (($key !="security_code") and ($key!="send") and ($key!="recipient")) { $message .= "$key: $value "; } } // Screen display if ($error == "") // If Error contains nothing, display a message { // and send the email echo "

Thank you for using our on-line form.

If you do not get a reply within a sensible time-frame please contact us by telephone - 01983 863845.

Julie Coombs.

"; mail("", "Acacia Care Home web form", $message, "From: $uemail"); //mail("", "Acacia Care Home web form", $message, "From: $uemail"); echo "Mail sent"; } else // If Error does contain something, display a message { // and tell the user what's wrong. print "Sorry, but the form cannot be sent until the following fields are filled in -
\n"; print "$error
\n"; print "
\n"; print "
\n"; print "Please use your \"Back\" button to return to the form to correct the omissions. Thank you.
\n"; } // unset($_SESSION['security_code']); } else { // Insert your code for showing an error message here echo "Sorry. Either you have provided an invalid security code or you are disabling cookies for this site.

Please click back. You need to copy the code on the left into the box marked security code and make sure that cookies are enabled on your browser.

"; } } //////////////////////////////////// else { echo "

Please copy from text above

Please provide your email address so we can reply to your message.

"; } include('footer.txt'); ?>