Using Flash to Submit to PHP
Posted on 2008-09-29
I am trying to use a flash form to submit to a PHP script.
I've followed a simple tutorial where I add a text box and a button.
The text box is set to Input Text and on the button I have the following script:
getURL('test.php', '', 'POST');
All seems to be working except that when I do a print_r($_POST); I get the following:
[q] => <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"12\" COLOR=\"#000000\" LETTERSPACING=\"0\" KERNING=\"0\">fdsafdsafdsa</FONT></P></TEXTFORMAT>
Is there any way to get the data that is in the flash var without all this other crap or must I now parse this with php to get the value that I'm looking for?