The email must be in the name@domain format."; return false; } if (function_exists("getmxrr") && function_exists("gethostbyname")){ // Extract the domain of the email address $maildomain = substr(strstr($field, '@'), 1); if (!(getmxrr($maildomain, $temp) || gethostbyname($maildomain) != $maildomain)){ $_SESSION['validDomain'] = "
The email domain does not exist.
"; return false; } } return true; } if (isset($_POST['submit'])){ if ((!empty($_POST['firstname'])) && !empty($_POST['email'])){ // validate email address $email = $_POST['email']; emailCheck($email); if ((isset($_SESSION['validEmail'])) || isset($_SESSION['validDomain'])){ $formErrors = "yes"; } else{ // to address $to = "<" . $websiteEmail . ">"; // And, last (before we build the email), set up some mail headers $headers = "From: <" . $_POST['email'] . ">\r\n"; $headers .= "Reply-To: <" . $_POST['email'] . ">\n"; $headers .= "X-Sender: <" . $websiteEmail . ">\r\n"; $headers .= "Message-ID: " . date("r") . $websiteEmail . "\n"; $headers .= "Return-Path: <" . $websiteEmail . ">\r\n"; $headers .= "X-Mailer: PHP Mailer 1.0\n"; $headers .= "Date: " . date("r") . "\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; $headers .= "MIME-Version: 1.0\n"; // Now, setup the "subject" line $subject = "Message from save my son form"; // start copy and paste here $out = ""; foreach($_POST as $varname => $value) $out .= $varname . ": " . $value . "
"; // end copy and paste here mail($to, $subject, $out, $headers); header("Location: Book_mantoman.pdf"); exit; } } else{ $formErrors = "yes"; } } ?> How to raise a son to be a man!
   
   
   
 

You 404’d it. Gnarly, dude.

Surfin’ ain’t easy, and right now, you’re lost at sea. But don’t worry; simply pick an option from the list below, and you’ll be back out riding the waves of the Internet in no time.

  • Hit the “back” button on your browser. It’s perfect for situations like this!
  • Head on over to the home page.
  • Punt.
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 
I want to GIVE you the first two chapters of Man to Man, Real Answer about Manhood absolutely FREE... Download---->
   
   
 
   
   
   
 
   
 
 
Receive Your 2 FREE Chapters Of "Man to Man Real Answers About Manhood" Please Enter Your Details Below...INSTANT DOWNLOAD
   
   
 
 

"; if (isset($_SESSION['validEmail'])){ echo $_SESSION['validEmail']; unset($_SESSION['validEmail']); } if (isset($_SESSION['validDomain'])){ echo $_SESSION['validDomain']; unset($_SESSION['validDomain']); } if (empty($_POST['firstname'])){ echo "
The first name is a required Field.
"; } if (empty($_POST['email'])){ echo "
The email is a required Field.
"; } echo "
Please fill out the form again


"; } ?>
 
First Name:
 
 
E-Mail:
 
 
How did you hear about us?
 
 
 
Your information will only be used to receive information from us and will always remain COMPLETELY CONFIDENTIAL. Privacy
   
   
 
   
 
What others are saying?
   
  “Excellent book.  A definite wake up call and reality check all rolled into one.” Diondre – 24 year old young man
   
  “Very positive influence...” Lisa – Mother of two sons
   
 

"A must read book for parents and young men...." Attorney Joe C. Hopkins, Author and Publisher, The Pasadena/San Gabriel Valley Journal News, Pasadena, CA

   
 

“All I can say is Wow! ” Fred Jones, former San Diego Charger and father of one son

   
 

“Had I known he information written in this book, I would never have gotten pregnant at seventeen. ” Catherine – Mother of four sons