check_captcha($public,$private) ) {
$can_send = 1;
} else {
$can_send = 2;
}
} else {
$can_send = 0;
}
$goto = ( isset( $_POST['email'] ) && $_POST['email'] != "" ) ? $_POST['email']:"";
if (isset($goto) == FALSE || $goto == "" ) {
$goto = 'form';
}
if ($goto == 'form' || $can_send == 0 || $can_send == 2 ) {
?>
Mail Sent!
";
}
} else {
header( "Location: " .$_SERVER['PHP_SELF'] );
}
}
?>