Flash & PHP form not working! Help?

HellO!

I am so frustrated! I tested this script and it lagged with the actual posting, so after numerous changes the mail filtered through… I can’t get it working again.
If anyone can help it would be so cool.

FLASH


//Submit data to PHP & send if boxes are correct!
function sendMail() {

    var newsLetter:LoadVars = new LoadVars();
   
    var email:LoadVars = new LoadVars();
    email.email_address = email_address.text;//Email
   email.first_name = first_name.text;//First Name
    email.surname = surname.text;//Surname
    email.mobile = mobile.text;//Mobile
    email.post_code = post_code.text;//Post Code
    
    
//Trace 
    trace (email_address.text);//Email
    trace (first_name.text);//First Name
    trace (surname.text);//Surname
    trace (mobile.text);//Mobile
    trace (post_code.text);//Post Code


    valid_txt = "";
        
//Post data        

    email.sendAndLoad("newsletter.php", newsLetter, "POST");    
    
    thankYou();
};

PHP


<?

$to = "[email protected]";


$subject = "Subscriber";

$headers = "From: $MailFrom" . $_POST["email_address"];
$headers .= "<" . $_POST["email_address"] . ">
";
$headers .= "Reply-To: " . $_POST["email_address"] . "
";
$headers .= "Return-Path: " . $_POST["email_address"];


$text =  $_POST['email_address'];  
$text =  $_POST['first_name'];  
$text =  $_POST['surname'];  
$text =  $_POST['mobile'];  
$text =  $_POST['post_code'];  


$msg .= "Email: $_POST[email_address]
";
$msg .= "Name: $_POST[first_name]
";
$msg .= "Surname: $_POST[surname]
";
$msg .= "Mobile: $_POST[mobile]
";
$msg .= "Post Code: $_POST[post_code]
";

mail($to, $subject, $msg, $headers);

$filename = "answer.txt";
$fd = fopen( $filename, "r" );
$contents = fread( $fd, filesize( $filename ) );
fclose( $fd );
$headers2 = "<" . $_POST["email_address"] . ">
";

mail("$headers2", "Reply Header", "$contents

",
"From:[email protected]
");

$signal=1;
echo "signal=$signal";

?>