dcnyc
August 6th, 2003, 04:56 PM
I am using a PHP mail form and when I try it, I do receive the e-mail but with nothing in there???
can anyone help? here is the code:
clear button:
on (release) {
name = "";
subject="";
message="";
email="";
}
send button:
on (release) {
if (name eq "" or subject eq "" or message eq "" or email eq "") {
stop ();
} else {
loadVariablesNum ("form.php", 0, "POST");
gotoAndStop (2);
}
}
php form:
<?PHP
$to = "you@domain.com";
$msg = "$name\n\n";
$msg .= "$message\n\n";
mail($to, $subject, $msg, "From: you@domain.com\nReply-To: $email\n");
?>
can anyone help? here is the code:
clear button:
on (release) {
name = "";
subject="";
message="";
email="";
}
send button:
on (release) {
if (name eq "" or subject eq "" or message eq "" or email eq "") {
stop ();
} else {
loadVariablesNum ("form.php", 0, "POST");
gotoAndStop (2);
}
}
php form:
<?PHP
$to = "you@domain.com";
$msg = "$name\n\n";
$msg .= "$message\n\n";
mail($to, $subject, $msg, "From: you@domain.com\nReply-To: $email\n");
?>