0 Replies Latest reply on Jun 19, 2010 2:04 PM by jeff_wood

    Radio button variable not being emailed through php file.


      Dear Forum,

      I have a contact form in a AS 2.0 file that sends the form data just fine to my email. But it doesn't send the radio button selection variable.

      I am definately doing something wrong here.  Either with the setup of the radio buttons in flash, or with the php file.


      I was wondering if someone can tell me the error in my ways.

      I have included a screenshot of flash page, download link with all files, and the php code below.


      Any advice or help would be greatly appreciated.




      Boise, ID

      email: aaajeff<at>hotmail.com






      Email.php file:


      $sendTo = "name@mydomain.com";
      $subject = "revolution - message";

      $headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" .

      $_POST["email"] .">\r\n";
      $headers .= "Reply-To: " . $_POST["email"] . "\r\n";
      $headers .= "Return-path: " . $_POST["email"];

      $body = $_POST["name"] ." ". $_POST["email"] ." ". $_POST["message"] ." ".


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