I have created a flash form that uses the fllowing PHP file
all works except when the user fills out the form and submits the email any data specified in the email address field is not sent
the name,subject and message content come thru in the email fine. what am I missing?
Thanks
<?
$name = $POST['name'];
$subject = $POST['subject'];
$message = $POST['message'];
$email = $POST['email'];
$to = "john@abc.com";
$msg = "$name\n\n";
$msg .= "$message\n\n";
mail($to, $subject, $msg, "From: My web site\nReply-To: $email\n");
?>
here is the actionscript
on (release) {
if (name eq "" or subject eq "" or message eq "" or email eq "") {
stop ();
} else {
loadVariablesNum ("form.php", 0, "POST");
gotoAndStop (2);
}
}