verify($_POST['g-recaptcha-response'], $_SERVER['REMOTE_ADDR']); if ($resp->isSuccess()) { $nimi = isset($_REQUEST['nimi'] ) ? $_REQUEST['nimi'] : ''; $email = isset($_REQUEST['email'] ) ? $_REQUEST['email'] : ''; $viesti = isset($_REQUEST['viesti'] ) ? $_REQUEST['viesti'] : ''; $yhtotto = isset($_REQUEST['yhtotto'] ) ? $_REQUEST['yhtotto'] : ''; mailPalaute($nimi,$email,$viesti,$yhtotto,$VIESTI,$SUBJECT); redirect($_SERVER['PHP_SELF']."?page=kiitos"); } else { echo "Captcha failed!";die; } } if ( !in_array($page,$pages)) die; @include "header.inc"; function redirect($action) { //global $PHPSELF; $script=$_SERVER['HTTP_HOST']; header ("Location: http://" .$script.$action); exit; } ?>

K-Supermarket Kamppi - tavallista parempi ruokakauppa Kampin kauppakeskuksessa |