|
Book Contents
Get used to The New Normal
Do not Shy Away From
This Sweet Anxiety
Boosting the odds
Get fit for the Future, again
and again and again
Don’t Worry - You’ll be alright!
|
|
|
|
To Download the Cover
Boosting the Odds
|
|
|
Order Boosting the Odds
|
Price € 19,95 plus shipping cost |
Buy direct in our shop in PayPal, handler is The Frame Holding BV
Alternatively. After filling in the form we will send payment information (during
office hours)
When payment is recieved the order will be sent.
setlocale(LC_ALL, array('Dutch_Netherlands', 'Dutch', 'nl_NL', 'nl', 'nl_NL.ISO8859-1', 'nld_NLD'));
// geef e-mail adres op van ontvanger
$mail_ontv = "info@boostingtheodds.com";
// is niet 100% !!!
function checkmail($mail)
{
$email_host = explode("@", $mail);
$email_host = $email_host['1'];
$email_resolved = gethostbyname($email_host);
if ($email_resolved != $email_host && eregi("^[0-9a-z]([-_.~]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,4}$",$mail))
$valid = 1;
return $valid;
}
// als er niet op submit is gedrukt, of als er wel op is gedrukt maar niet alles ingevoerd is
if (!$_POST['submit'] || $_POST['submit'] && (!$_POST['naam'] || !$_POST['mail'] || !checkmail($_POST['mail']) || !$_POST['address'] || !$_POST['zipcode'] || !$_POST['city'] || !$_POST['country'] || !$_POST['phone'] || !$_POST['quantity'] || !$_POST['onderwerp']))
{
if ($_POST['submit'] && (!$_POST['naam'] || !$_POST['mail'] || !checkmail($_POST['mail']) || !$_POST['address'] || !$_POST['zipcode'] || !$_POST['city'] || !$_POST['country'] || !$_POST['phone'] || !$_POST['quantity'] || !$_POST['onderwerp']))
{
echo "One of the fields is not (correctly) filled. ";
echo "Or e-mail address is not correct!";
}
// form + tabel
echo " ";
}
// versturen naar
else
{
// set datum
$datum = date("d F Y H:i");
// set ip
$ip = $_SERVER['REMOTE_ADDR'];
$inhoud_mail = "===================================================\n";
$inhoud_mail .= "Ingevulde Bestel formulier Boosting The Odds Website\n";
$inhoud_mail .= "===================================================\n\n";
$inhoud_mail .= $_SERVER['SCRIPT_URI'] . "\n";
$inhoud_mail .= "Naam: " . $_POST['naam'] . "\n";
$inhoud_mail .= "E-mail adres: " . $_POST['mail'] . "\n";
$inhoud_mail .= "Adres: " . $_POST['address'] . "\n";
$inhoud_mail .= "Postcode: " . $_POST['zipcode'] . "\n";
$inhoud_mail .= "Plaats: " . $_POST['city'] . "\n";
$inhoud_mail .= "Land: " . $_POST['country'] . "\n";
$inhoud_mail .= "Telefoon: " . $_POST['phone'] . "\n\n";
$inhoud_mail .= "Aantal: " . $_POST['quantity'] . "\n\n";
$inhoud_mail .= "Verstuurd op " . $datum . " via het ip " . $ip . "\n\n";
$inhoud_mail .= "===================================================\n\n";
// --------------------
// spambot protectie
// ------
// van de tutorial: http://www.phphulp.nl/php/tutorials/10/340/
// ------
$headers = "From: " . $_POST['naam'] . " <" . $_POST['mail'] . ">";
$headers = stripslashes($headers);
$headers = str_replace("\n", "", $headers); // Verwijder \n
$headers = str_replace("\r", "", $headers); // Verwijder \r
$headers = str_replace("\"", "\\\"", str_replace("\\", "\\\\", $headers)); // Slashes van quotes
$_POST['onderwerp'] = str_replace("\n", "", $_POST['onderwerp']); // Verwijder \n
$_POST['onderwerp'] = str_replace("\r", "", $_POST['onderwerp']); // Verwijder \r
$_POST['onderwerp'] = str_replace("\"", "\\\"", str_replace("\\", "\\\\", $_POST['onderwerp'])); // Slashes van quotes
mail($mail_ontv, $_POST['onderwerp'], $inhoud_mail, $headers);
echo "Order has been sent";
echo "Thank you for ordering...";
}
?>
|
|
|
Book Comments
“An eye-opening book, one that teases our intelligence… Van den Oever is after a mind shift, and he bags it.”
“Be prepared to have your old beliefs overturned”.
|
|