// Add this at the very top of your page, before the html tag. ---------------------------------------------------------------- Please enter your name!"; $mailSent = 0; } } if(isset($email)){ if ($email == ""){ $emailError == "Please enter your email address!"; $mailSent = 0; } if (!eregi("^[a-z0-9]+([-_\.]?[a-z0-9])+@[a-z0-9]+([-_\.]?[a-z0-9])+\.[a-z]{2,4}", $email)){ $emailError = "
Please enter a valid email address!"; $mailSent = 0; } } if ($mailSent == 0){ ?> --------------------------------------------------------------- // Create a Form ----------------------------------------------------------------
Name:
Your Website :
URL of Link to this site:
How did you find this page:
Email:
Comments:
Country:

 


--------------------------------------------------------------------------- Add in the email details after the closing html tag.. --------------------------------------------------------------------------- ",$ToSubject, $Message, "From: ".$name." <".$email.">"); header("Location: $dlFile"); } ?> --------------------------------------------------------------------------- Save the page as download.php. --------------------------------------------------------------------------- Add a link to your download on a seperate page, scripts.htm for eaxample. Your Link --------------------------------------------------------------------------- When clicked the user will be sent to your download page before they can download your content.