Flash form- php mailer trouble

i have followed the tutorial on kirupa about creating a form which then uses php to email the info from the form. i believed that i have followed it exactly and my server is supposed to support php according to their site.

when i try to test the form by clidking on the “send” button, nothing happens. the status bar says that data is being transferred, but nothing ever happens. i have the form in a .swf which is loaded into the main movie.

any ideas as to what i may be doing wrong??

thanks in advance for any help.

here is the php script that i am using - titled “email.php”


$sendTo = "[email protected]";
$subject = “website reply”;

$headers = “From: " . $_POST[“name”];
$headers = “subject: " . $_POST[“subject”];
$headers .= “<” . $_POST[“email”] .”>
$headers .= "Reply-To: " . $_POST[“email”];

$message = $_POST[“message”];

mail($sendTo, $subject, $message, $headers);

My send button has the following AS:
on (release) {
_root.containter.contact.formMovie.form.loadVariables(“email.php”, “POST”);

And my form movie has this AS:
onClipEvent (data) {

Anyone have any ideas?

ok…i have figured this out for the most part. i still have one problem though. even though i get the emails and the movie goes from displaying the form to a “thank you” screen, the status bar still says “transferring data…” I don’t think it is a real big deal, but I would like to fix it. Any ideas why this might be happening?