Hello,
I have a Flash movie that, when I click the submit button, uploads the variables firstname, lastname, email and comment to submitcomment.php ...
Everything works great, however when I retrieve the variables using...
$firstname=$_POST['firstname'];
$lastname=$_POST['lastname'];
$email=$_POST['email'];
$comment=$_POST['comment'];
...and I echo the local variables or use them in any way, it gives me, for example if I echo $email:
<TEXTFORMAT LEADING=\"5\"><P ALIGN=\"LEFT\"><FONT
FACE=\"Arial\" SIZE=\"12\" COLOR=\"#333333\" LETTERSPACING=\"0\"
KERNING=\"0\">johnsmith@123.com</FONT></P></TEXTFORMAT>
So, ok, it gives me the correct string, but with all this other stuff around it. I simply want $email to echo: johnsmith@123.com.
For your reference, in Flash I use:
loadVariablesNum("http://www.mydomain.com/submitcomment.php", 0, "POST");
Any ideas?? Please help!
Thanks so much