# Flash+PHP mail form problem

**URL:** https://forum.kirupa.com/t/flash-php-mail-form-problem/169954
**Category:** Uncategorized
**Created:** [November 21, 2005, 3:21pm UTC](https://forum.kirupa.com/t/flash-php-mail-form-problem/169954 "2005-11-21T15:21:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![goto](https://avatars.discourse-cdn.com/v4/letter/g/b4bc9f/32.png) [@goto](https://forum.kirupa.com/u/goto)
#### Post date: [November 21, 2005, 3:21pm UTC](https://forum.kirupa.com/t/flash-php-mail-form-problem/169954/1 "2005-11-21T15:21:49Z")

</div>

Hi people!!! 🙂  
I have a problem here with PHP, Im novice with this and I dont know why it isnt working now… Im just using the tutorial by senocular on [kirupa.com](http://kirupa.com) to create a simple contact form. I modified it with my own mail, and published the files (the php, swf and html files) on a free server at iespana. Here is it… [http://traceuser.iespana.es/](http://traceuser.iespana.es/)  
But it is not working!!! Even when iespana supports PHP…  
Can you tell me what am doing wrong?

Thank you so much!!  
(here are the files)  
and the PHP code is…

```php
 
<?php
$sendTo = "kakorros@hotmail.com";
$subject = "My Flash site reply";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>

```

Thanks again 😉  
:::::goto():::::
