# Flash oldie but PHP newbie

**URL:** https://forum.kirupa.com/t/flash-oldie-but-php-newbie/238856
**Category:** Uncategorized
**Created:** [September 16, 2007, 8:54am UTC](https://forum.kirupa.com/t/flash-oldie-but-php-newbie/238856 "2007-09-16T08:54:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![organmonsta](https://avatars.discourse-cdn.com/v4/letter/o/f05b48/32.png) [@organmonsta](https://forum.kirupa.com/u/organmonsta)
#### Post date: [September 16, 2007, 8:54am UTC](https://forum.kirupa.com/t/flash-oldie-but-php-newbie/238856/1 "2007-09-16T08:54:13Z")

</div>

Hi Guys  
I am wondering if anyone can help me out here. I followed a tutorial here on the KIrup site from putting together a small form in Flash and sending it through PHP, and if you felt an Earthquake, that was me jumping up and down coz it worked…well I think it did, when I checked my email this is what was found in my inbox:  
**From :** [\<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE=“Verdana” SIZE=“10” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>me\</FONT\>\</P\>\</TEXTFORMAT\>\<\<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE=“Verdana” SIZE=“10” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>chris.rendall@hotmail.co.uk\</FONT\>\</P\>\</TEXTFORMAT\>\>](http://javascript%3cb%3e%3c/b%3E:WOX%28650,630,1,%27writemail.html?id=d8979cea8906c1c4f6eb7d4987542e0a&writeto=%253CTEXTFORMAT%2520LEADING%253D%255C%25222%255C%2522%253E%253CP%2520ALIGN%253D%255C%2522LEFT%255C%2522%253E%253CFONT%2520FACE%253D%255C%2522Verdana%255C%2522%2520SIZE%253D%255C%252210%255C%2522%2520COLOR%253D%255C%2522%2523000000%255C%2522%2520LETTERSPACING%253D%255C%25220%255C%2522%2520KERNING%253D%255C%25220%255C%2522%253Eme%253C%252FFONT%253E%253C%252FP%253E%253C%252FTEXTFORMAT%253E%253C%253CTEXTFORMAT%2520LEADING%253D%255C%25222%255C%2522%253E%253CP%2520ALIGN%253D%255C%2522LEFT%255C%2522%253E%253CFONT%2520FACE%253D%255C%2522Verdana%255C%2522%2520SIZE%253D%255C%252210%255C%2522%2520COLOR%253D%255C%2522%2523000000%255C%2522%2520LETTERSPACING%253D%255C%25220%255C%2522%2520KERNING%253D%255C%25220%255C%2522%253Echris.rendall%2540hotmail.co.uk%253C%252FFONT%253E%253C%252FP%253E%253C%252FTEXTFORMAT%253E%253E&closewin=1%27%29;)

and for the message: \<TEXTFORMAT LEADING=“2”\>\<P ALIGN=“LEFT”\>\<FONT FACE=“Verdana” SIZE=“10” COLOR="#000000" LETTERSPACING=“0” KERNING=“0”\>well?\</FONT\>\</P\>\</TEXTFORMAT\>

the subject box was ok, can anyone tell me where I have gone wrong, please, its dam frustrating!  
I also put this message in the PHP part of the forum, but looking at it, it looks more like a flash problem, I am probably not doing something right.

this is the PHP code I am using:  
\<?php  
$sendTo = "webmaster@belgiancafe.co.uk";  
$subject = “My Flash site reply”;  
$headers .= ‘Content-type: text/html; charset=iso-8859-1’ . "  
";  
$headers = "From: " . $\_POST[“name”];  
$headers .= “\<” . $\_POST[“email”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-Path: " . $\_POST[“email”];  
$message = $\_POST[“message”];  
mail($sendTo, $subject, $message, $headers);  
?\>

Actionscript:  
for the send button:  
on (release) {  
mailform.loadVariables(“email.php”,“POST”);  
}

for the movieclip:  
onClipEvent(data){  
\_root.nextFrame();  
}

Any help would be appreciated, its so frustrating!
