# Flash/PHP Form giving me more info then i asked for

**URL:** <https://forum.kirupa.com/t/flash-php-form-giving-me-more-info-then-i-asked-for/187593>\
**Category:** flash\
**Created:** [April 30, 2006, 8:57pm UTC](https://forum.kirupa.com/t/flash-php-form-giving-me-more-info-then-i-asked-for/187593 "2006-04-30T20:57:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lemuel](https://avatars.discourse-cdn.com/v4/letter/l/f9ae1b/32.png) [@Lemuel](https://forum.kirupa.com/u/Lemuel)\
**Post date:** [April 30, 2006, 8:57pm UTC](https://forum.kirupa.com/t/flash-php-form-giving-me-more-info-then-i-asked-for/187593/1 "2006-04-30T20:57:04Z")

</div>

Hi

I’ve been using a Flash/PHP combination for several of my sites thats worked for me so far.

THe latest form I built however, sends more information then I asked form.

For example:

I fill out the form, name, email, phone number and message.  
Hit submit, get feedback, get a nice message saying email sent. Works fine there.

I recieve the email, look at it, and I see text like:  
This Message has been sent from: \<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE=“Avian” SIZE=“14” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>Lem\</FONT\>\</P\>\</TEXTFORMAT\>

All I wanted was the name…  
Any idea what might be the cause of this?

The code on the submit button is:

```auto
on (release) {
    loadVariablesNum("emailform.php", "0", "POST");

        gotoAndStop(2);
}

```

The PHP Script looks like:

```auto
<?
$ToEmail = "me@myemail.com";
##$ToName = "Lem";
$ToSubject = "Contact Form";
$EmailBody = "-Contact Form-

This Message has been sent from: $contact_name

Their Contact Phone Number: $contact_phone

E-mail: $contact_email

Their Message:

$contact_message

";
$EmailFooter="
This message was sent by: $contact_name from $REMOTE_ADDR";
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$contact_email."");
Print "_root.pages.contact_page.formstatus=Your message has been sent.";
?>

```

I don’t see anything unusual about the input text fields, and I’m not sure what to do about fixing this.

I’m using Flash 8, but I published the Flash movie in Flash 6.  
(Problem is the same when published as Flash 8 though)  
Using Actionscript 2.0 in the publish settings.  
And I’m using a rented server - [http://www.powweb.com](http://www.powweb.com)

Any suggestions would seriously help. I don’t know if this is a commonly occuring problem or not, I don’t know what key words to use to get an accurate search through the forums.

Thanks for at least reading this.

-Lem
