# Php flash emailer

**URL:** <https://forum.kirupa.com/t/php-flash-emailer/300624>\
**Category:** Uncategorized\
**Created:** [November 24, 2009, 8:55pm UTC](https://forum.kirupa.com/t/php-flash-emailer/300624 "2009-11-24T20:55:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sans\_serif](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@sans\_serif](https://forum.kirupa.com/u/sans_serif)\
**Post date:** [November 24, 2009, 8:55pm UTC](https://forum.kirupa.com/t/php-flash-emailer/300624/1 "2009-11-24T20:55:44Z")

</div>

sorry if this is simple, but ive tried looking at a few different sites and i have had no such luck.

? using the kirupa flash php tut,  
[http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

i am trying to add more input forms.

ive added them in flash and given then VAR state and zip, but i am unsure of how to have POST collect them in the php script. do i add them with the $message?

thanks,  
sans\_serif

\<?php  
/

$sendTo = "mail@mynamehere.com";  
$subject = “flash mailer”;

$headers = “From: " . $\_POST[“firstName”] .” “. $\_POST[“lastname”] . “\<” . $\_POST[“email”] .”\>  
";

$headers .= "Reply-To: " . $\_POST[“email”] . "  
";

$headers .= "Return-path: " . $\_POST[“email”];

$message = $\_POST[“message”];

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

?\>
