I'm developing a Flash 9 based website with a contact form which uses a php script to send an e-mail with the filled data.
In flash i'm using the loadVariablesNum function to send the data to the php script.
The mail is recivied but the message also contains HTML tags.
This is an example.
Sender (as shown in inbox):
<TEXTFORMAT LEADING=2><P ALIGN=LEFT><FONT FACE=Verdana SIZE=10 COLOR=#8D2222 LETTERSPACING=0 KERNING=0>test sender</FONT></P></TEXTFORMAT><<TEXTFORMAT LEADING=2><P ALIGN=LEFT><FONT FACE=Verdana SIZE=10 COLOR=#8D2222 LETTERSPACING=0 </FONT></P></TEXTFORMAT>> <KERNING=\"0\"[email protected]>
Message body:
Name: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Verdana\" SIZE=\"10\" COLOR=\"#8D2222\" LETTERSPACING=\"0\" KERNING=\"0\">test sender</FONT></P></TEXTFORMAT> Dirección : <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Verdana\" SIZE=\"10\" COLOR=\"#8D2222\" LETTERSPACING=\"0\" KERNING=\"0\">ajdhah</FONT></P></TEXTFORMAT> Teléfono : <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Verdana\" SIZE=\"10\" COLOR=\"#8D2222\" LETTERSPACING=\"0\" KERNING=\"0\">adjaj</FONT></P></TEXTFORMAT> E-mail : <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Verdana\" SIZE=\"10\" COLOR=\"#8D2222\" LETTERSPACING=\"0\" KERNING=\"0\">[email protected]</FONT></P></TEXTFORMAT> Mensaje: <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Verdana\" SIZE=\"10\" COLOR=\"#8D2222\" LETTERSPACING=\"0\" KERNING=\"0\">ajsdasjhjas</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Verdana\" SIZE=\"10\" COLOR=\"#8D2222\" LETTERSPACING=\"0\" KERNING=\"0\">asdhaj</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Verdana\" SIZE=\"10\" COLOR=\"#8D2222\" LETTERSPACING=\"0\" KERNING=\"0\">adajsdsjh</FONT></P></TEXTFORMAT>
Is there any way to prevent flash from sending those html tags?.
Any help is greatly appreciated.
Thanks.