Mind
set
Home
Contact
07825 148406
menu
Home
Contact
07825 148406
Contact
MindSET - your own local personal trainer
Mind
set
Register now to receive notification when we 'go live' - and to receive exclusive opening offers!
Address:
MindSET Personal Training
Riverside Studio
52 Manor Farm Road
Bitterne Park
Southampton
SO18 1NQ
Phone:
07825 148406
Email:
info@mindsetpt.co.uk
// grab recaptcha library require_once "recaptchalib.php"; // secret key $secret = "6Ld_bqsUAAAAALnL0R202PRqNLqGa51aKdnx7iDp"; // empty response $response = null; // check secret key $reCaptcha = new ReCaptcha($secret); if (isset($_POST['g-recaptcha-response'])){ $response = $reCaptcha->verifyResponse( $_SERVER["REMOTE_ADDR"], $_POST["g-recaptcha-response"] ); } if ($response != null && $response->success) { /* gather the submitted data */ $name=$_POST['name']; $email=$_POST['email']; $tel=$_POST['telephone']; $message=$_POST['comments']; $emessage="MindSET Web Form message received \n\nFrom : " . $name . "\nEmail : " . $email . "\nContact tel : " . $tel . "\n\nMessage : \n" .$message; /* send the email */ $from="From: $name<$email>\r\nReturn-path: $email"; $subject="IMPORTANT - Message sent from mindsetpt.co.uk using contact form"; mail("info@mindsetpt.co.uk", $subject, $emessage, $from); $logmessage = date(DATE_RFC2822) . " : " . $name . " : " . $email . " : " . $tel . " : " . $message . "\n"; file_put_contents ('sent.log', $logmessage, FILE_APPEND); /* Success! Load submitted.php page */ echo(""); } else if (isset ($_POST['action'])) { /* Failed - no captcha result! Load submit_failed.;php page */ echo(""); } else { ?>
Pre-Register Now!
Send
} ?>