Flash email form

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

<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.

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

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?

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.


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

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

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

bump

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

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