Hey everybody,
how are you all doing? I am trying to put together a flash form which runs on php scripts. I get the confirmation emails and the sent information. The only thing is all the fields are blank. I read up on this with the other forums, but I still can’t seem to resolve my issue. Someone help please?
Thanks
Flash form
in an MC, i have the form fields as an MC(instance name is form) and the submit buttn.
AS on Submit button
on (release) {
form.loadVariables(“send.php3”, 1 , “POST”);
play();
}
PHP SCRIPTS
$to = "tom@mywebdepartment.com";
$ch_subject = "A completed mission;
$ch_message = “” . $_POST[“name”] . ", you did it!
Name: " . $_POST[‘name’] . "
Email Address: " . $_POST[‘email’] . "
Mailing Address: " . $_POST[‘mailing’] . "
City: " . $_POST[‘city’] . "
State: " . $_POST[‘state’] . "
Zip: " . $_POST[‘zip’] . "
Phone: " . $_POST[‘phone’] . "
";
$you_subject = “We received it.”;
$you_message = "Hello " . $_POST[‘name’] . ",
Congratulations you did it.";
$you_to = $_POST[‘email’];
//mail to applicant
mail($you_to, $you_subject, $you_message, $headers);
//mail to me
mail($to, $ch_subject, $ch_message, $headers);