Dear Investors,
I have a eBook, which I provide for free.
To get the free download link just sign up with your E-mail address.
Jack Shea
$email = $_POST['email'];
$submit = $_POST['submit'];
$me = "maxim@kuemmerle.net";
$subject = SIGNUP;
if (empty($email)) {
$emailErr = "Email is required";
} else
{
if (!filter_var($email, FILTER_VALIDATE_EMAIL))
{
$emailErr = "Invalid email format";
}
else {
if (isset($submit))
{
mail ($me , $subject , $email);
echo '
Click here to download the eBook.
' ;
}
}
}
echo ($emailErr);
[/insert_php]