# Contact form in flash

**URL:** <https://forum.kirupa.com/t/contact-form-in-flash/313767>\
**Category:** flash\
**Created:** [September 9, 2010, 6:32am UTC](https://forum.kirupa.com/t/contact-form-in-flash/313767 "2010-09-09T06:32:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pm4698](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@pm4698](https://forum.kirupa.com/u/pm4698)\
**Post date:** [September 9, 2010, 6:32am UTC](https://forum.kirupa.com/t/contact-form-in-flash/313767/1 "2010-09-09T06:32:08Z")

</div>

Hello there!.

I use an xml flash website and in it there is a contact form. The form works just fine, but when i fill in the info with greek characters, at the incoming mail i see squares and question marks(unicode problem). For this form i use these files:

mysite\_contact\_form.php

```auto
<style type="text/css">
<!--
body,td,th {
    font-family: Arial, Helvetica, sans-serif;
}
-->
</style><?php
$sendTo = "mail@mail.com";
$subject = "Website name";
$message = $_GET['message'];
$email = $_GET['email'];
$name = $_GET['name'];
    //send mail
    $headers = "From: $email
";
    //$headers .= 'MIME-Version: 1.0' . "
";
    //$headers .= 'Content-type: text/html; charset=UTF-8' . "
";
    $msg = "The following message comes from:

Name:".$name."

E-mail:".$email."

Message:".$message."";
    mail($sendTo, $subject, $msg, $headers);
    echo "status=formOk";
?>

```

contact.xml

```auto
<?xml version="1.0" encoding="utf-8" ?>
<contacts><![CDATA[Check out our page]]></contacts>

```

config.xml

```auto
<?xml version="1.0" encoding="utf-8" ?>
<config>
    <isEliteModule>true</isEliteModule>
    <fullscreen_button_visible>false</fullscreen_button_visible>
    <background_active>false</background_active>
    <background_default>backgrounds/bkg_carbon_02.swf</background_default>
    <default_color>0xEEC800</default_color>
</config>

```

Any ideas? Should i perhaps insert some code at .fla to make the greek characters at incoming emails appear?

Thank you in advance
