1 Reply Latest reply on Mar 24, 2007 8:18 AM by kglad

    weird response from my feedback form

    sisterjameela
      recently made a flash movie with 2 feedback forms in it. One form works perfectly but the other much larger one comes back like html code. I don't know what i'm doing wrong. Here is what i use in the movie clip
      on (release) {
      this.loadVariables("contact.php", "POST");
      }

      this is the php code that i used
      <?php
      $sendTo = "myemail@gmail.com";
      $subject = "Booking from Mysite.com";

      $headers .= "Reply-To: " . $_POST["text13"] . "\r\n";
      $message .= "\r\nFrom: " . $_POST["text13"] . "\r\n";
      $message .= "First Name: " . $_POST["text6"] . "\r\n";
      $message .= "Last Name: " . $_POST["text7"] . "\r\n";
      $message .= "Address: " . $_POST["text8"] . "\r\n";
      $message .= "City: " . $_POST["text9"] . "\r\n";
      $message .= "State: " . $_POST["text10"] . "\r\n";
      $message .= "Zip: " . $_POST["text11"] . "\r\n";
      $message .= "Phone: " . $_POST["text12"] . "\r\n";
      $message .= "Email: " . $_POST["text13"] . "\r\n";
      $message .= "Pickup Address: " . $_POST["text14"] . "\r\n";
      $message .= "Destination Address: " . $_POST["text15"] . "\r\n";
      $message .= "Limousine Desired: " . $_POST["text19"] . "\r\n";
      $message .= "Time of Pickup: " . $_POST["text16"] . "\r\n";
      $message .= "Number of hours: " . $_POST["text17"] . "\r\n";
      $message .= "Date Desired: " . $_POST["text18"] . "\r\n";

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

      It's coming out like this.in the emails.


      From: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"13\" COLOR=\"#CCCCCC\" LETTERSPACING=\"0\" KERNING=\"0\">gyj</FONT></P></TEXTFORMAT>
      First Name: First Name
      Last Name: Last Name
      Address: Address
      City: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"13\" COLOR=\"#CCCCCC\" LETTERSPACING=\"0\" KERNING=\"0\">456</FONT></P></TEXTFORMAT>
      State: State
      Zip: Zip
      Phone: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"13\" COLOR=\"#CCCCCC\" LETTERSPACING=\"0\" KERNING=\"0\">45</FONT></P></TEXTFORMAT>
      Email: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"13\" COLOR=\"#CCCCCC\" LETTERSPACING=\"0\" KERNING=\"0\">gyj</FONT></P></TEXTFORMAT>
      Pickup Address: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"13\" COLOR=\"#CCCCCC\" LETTERSPACING=\"0\" KERNING=\"0\">23</FONT></P></TEXTFORMAT>
      Destination Address: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Tahoma\" SIZE=\"13\" COLOR=\"#CCCCCC\" LETTERSPACING=\"0\" KERNING=\"0\">ghjm</FONT></P></TEXTFORMAT>
      Limousine Desired: <p align=\"left\"></p>
      Time of Pickup: <p align=\"left\"></p>
      Number of hours: <p align=\"left\"><font face=\"Tahoma\" size=\"13\" color=\"#cccccc\" letterSpacing=\"-0.400000\" kerning=\"0\">4 hours</font></p>
      Date Desired: <p align=\"left\"></p>


      the information is in all that code. How can i fix it so it doesn't return the coding with the information?