Hi,
Any help on this would be very appreciated 🙂
Ok I'm using the following code which works fine for sending
the emails. The problem is I require that when the email is submitted, instead of loading up another page, it intitiates a *.exe file to be d/l.
Is there any way of incorporating this into the code below, and would it work, without loading another page. If a page has to load, I could always do it to a small popup if need be, correct?
Main problem is that I don't want the person who is d/l the file
to have a direct page link to the file, if that makes sense 😕
Thankyou.
Trezz
<?
// define some settings
$to = "me@mydomain.com";
$from = "you@yourdomain.com";
// make sure everything is filled in
if (!strlen($_POST["email"]))
die("You did not enter your email!");
// construct the body
$body = "Name: $_POST[email]\n\n$_POST[body] ";
// send the email
mail($to, $_POST["subject"], $body, "From: $to");
?>