# Flash/PHP Email Form

**URL:** <https://forum.kirupa.com/t/flash-php-email-form/242852>\
**Category:** programming\
**Created:** [October 30, 2007, 11:38pm UTC](https://forum.kirupa.com/t/flash-php-email-form/242852 "2007-10-30T23:38:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trowley](https://avatars.discourse-cdn.com/v4/letter/t/8edcca/32.png) [@trowley](https://forum.kirupa.com/u/trowley)\
**Post date:** [October 30, 2007, 11:38pm UTC](https://forum.kirupa.com/t/flash-php-email-form/242852/1 "2007-10-30T23:38:03Z")

</div>

Hi:

I am trying to create an email form in Flash which sends a confirmation email as well. I am basing it off the tutorial on this site. Needless to say, it is not working; it’s not sending me any of the form info. Can someone please take a look at the php and fla to see if i am missing something. PHP:

```php

<?php
$sendTo = "travisredington@hotmail.com";
$subject = "Newsletter Subscription Request from jrarchitect.com";

$message = "FirstName: " . $_POST["firstName"];
$message = "LastName: " . $_POST["lastName"];
$message = "StreetAdd: " . $_POST["streetAdd"];
$message = "City: " . $_POST["city"];
$message = "State: " . $_POST["state"];
$message = "Zip: " . $_POST["zip"];

$headers .= "<" . $_POST["email"] . ">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-Path: " . $_POST["email"];

mail($sendTo, $subject, $message, $headers);
?>

```

The fla is attached.

Any help would be appreciated.

Thanks
