Your Last Name is missing.
"); } if (!(eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,4}$",$contactEmail))): exit("Email Address appears to be invalid.
"); endif; $emailDomain = ltrim(strstr($contactEmail, '@'), '@'); if(!(checkdnsrr($emailDomain, ANY))) exit("Email Address Domain can not be found on the internet.
"); /* Construct list of favorite characters */ $favoriteCharactersList = ""; if ($contactCharacterBugs == "YES") $favoriteCharactersList .= "Bugs Bunny, "; if($contactDaffy == "YES") $favoriteCharactersList .= "Daffy Duck, "; if($contactRoadRunner == "YES") $favoriteCharactersList .= "Road Runner, "; if($contactCoyote == "YES") $favoriteCharactersList .= "Wiley Coyote"; /* Create Date Time in Human Readable Form */ $humanDateTime = date("Y") . strtoupper(date("M")) . date("d H:i"); /* Replace all LineFeeds within Comments with 2 spaces. */ $commentsSingleLine = str_replace("\n", " ", $contactComments); $commentsSingleLine = str_replace("\r", " ", $commentsSingleLine); /* Construct the email messages */ $messageToAcme = "Please send me more information about Acme products"; $messageToAcme .= "\n\n First Name = " . $contactFirstName; $messageToAcme .= "\n Last Name = " . $contactLastName; $messageToAcme .= "\n Email = " . $contactEmail; $messageToAcme .= "\n\n My interests are:"; $messageToAcme .= "\n Favorite Characters = " . $favoriteCharactersList; $messageToAcme .= "\n Age Group = " . $contactAgeGroup; $messageToAcme .= "\n Add me to mailing list = " . $contactAddMailingList; $messageToAcme .= "\n\n Comments = " . $contactComments; $fullAcmeName = $contactFirstName ." " .$contactLastName; $mailAcmeHeaders = "From: \"".$fullAcmeName."\"<".$contactEmail.">\n"; $mailAcmeHeaders .= "Reply-to: ".$contactEmail; $messageToRequestor = "Thanks, " .$contactFirstName .", for requesting information about Acme products"; $messageToRequestor .= "\n Your email will totally ignored just like 38% of the F500 ignore emails."; $mailRequestorHeaders = "From: \"Dave Barnes\"