# Flash email form

**URL:** <https://forum.kirupa.com/t/flash-email-form/183866>\
**Category:** Uncategorized\
**Created:** [March 30, 2006, 8:06pm UTC](https://forum.kirupa.com/t/flash-email-form/183866 "2006-03-30T20:06:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [March 30, 2006, 8:06pm UTC](https://forum.kirupa.com/t/flash-email-form/183866/1 "2006-03-30T20:06:58Z")

</div>

Okay for some reason when I send variable from flash to a php mailer script It is inserting html around the actual variables. Here is what the html looks like that is getting auto inserted

```auto
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">nathanwchapman@gmail.com</FONT></P></TEXTFORMAT></h3>, I just came across this great business concept. I thought you may be interested in knowing about it, since it is unique and part of a massive trend.
       <br /><br />Check out the information for yourself at
www.coldcoffeeamerica.com<br /><br /><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">dfsd</FONT></P></TEXTFORMAT>

```

Is there some parameter I’m not clicking in flash or something? Why is this html getting added? I dont want it there.

---

<div class="post-metadata">

**Author:** ![simplistik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simplistik/32/7747_2.png) [@simplistik](https://forum.kirupa.com/u/simplistik)\
**Post date:** [March 30, 2006, 8:16pm UTC](https://forum.kirupa.com/t/flash-email-form/183866/2 "2006-03-30T20:16:56Z")

</div>

i’m clearly no php expert, but… does the php script output like that w/o flash?

---

<div class="post-metadata">

**Author:** ![ramie](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@ramie](https://forum.kirupa.com/u/ramie)\
**Post date:** [March 30, 2006, 8:45pm UTC](https://forum.kirupa.com/t/flash-email-form/183866/3 "2006-03-30T20:45:09Z")

</div>

How are you requesting the variable in php? and that looks like your submitting the contents of an html text box from flash, what way are you constructing the string that you post from flash to the php script?

---

<div class="post-metadata">

**Author:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [March 30, 2006, 11:31pm UTC](https://forum.kirupa.com/t/flash-email-form/183866/4 "2006-03-30T23:31:48Z")

</div>

simp, good idea. I checked just using the php script and it works perfectly. It is something with the way flash is sending the variables. I tried POST and now ive been trying GET, both do the same crap, they send all the html formatting code around it.

```auto

on(release){
_root.emailform.loadVariables("email.php?name1="+one+"&name2="+three+"&email1="+two+"&email2="+four+"", "GET");
}

```

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [March 30, 2006, 11:37pm UTC](https://forum.kirupa.com/t/flash-email-form/183866/5 "2006-03-30T23:37:42Z")

</div>

> [@SlowRoasted](#):
>
> ```html
> <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">nathanwchapman@gmail.com</FONT></P></TEXTFORMAT></h3>, I just came across this great business concept. I thought you may be interested in knowing about it, since it is unique and part of a massive trend.
> <br /><br />Check out the information for yourself at
> www.coldcoffeeamerica.com<br /><br /><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#000000" LETTERSPACING="0" KERNING="0">dfsd</FONT></P></TEXTFORMAT>
> 
> ```

I don’t know about the Flash side of things… but are you serious?!

---

<div class="post-metadata">

**Author:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [March 31, 2006, 12:09am UTC](https://forum.kirupa.com/t/flash-email-form/183866/6 "2006-03-31T00:09:49Z")

</div>

nah man I’m just posting this to play a joke on the forum:upset:

---

<div class="post-metadata">

**Author:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [March 31, 2006, 7:06pm UTC](https://forum.kirupa.com/t/flash-email-form/183866/7 "2006-03-31T19:06:39Z")

</div>

_bump_

---

<div class="post-metadata">

**Author:** ![SlowRoasted](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@SlowRoasted](https://forum.kirupa.com/u/SlowRoasted)\
**Post date:** [April 1, 2006, 2:45am UTC](https://forum.kirupa.com/t/flash-email-form/183866/8 "2006-04-01T02:45:52Z")

</div>

I finally figured this out. I used the method in this thread to pass the variables to the php file. [http://www.kirupa.com/forum/showthread.php?t=207202&highlight=flash+email+form](http://www.kirupa.com/forum/showthread.php?t=207202&highlight=flash+email+form)

I guess you have to set the text as variables before you send to php to keep extra html from showing up.
