There has been countless posts with problems regarding people trying to make one of these but I checked through them all and didn’t feel that any of them answered my problem. My email form sends email but no subject. I’m aware that there is a typo on the tutorial ttp://www.kirupa.com/developer/actionscript/flash_php_email.htm and think I have compensated for this. Can someone have a look see if I’m heading in the right direction please?
The PHP code is
<?php
$sendTo = "graham@namik.co.uk";
$subject = "Namik.co.uk";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-Path: " . $_POST["email"];
$body = $_POST["body"];
mail($sendTo, $subject, $body, $headers);
?>
Unfortunately I don’t seem to be able to upload the swf which bums me out a bit but if anyone can see where I’m going wrong I’d greatly appreciate a slap. (Edit: File was too big. Bums.) I’m following the action script word for word in the tute. (copy and paste)
Ta.