# Flash PHP form mailer

**URL:** <https://forum.kirupa.com/t/flash-php-form-mailer/222266>\
**Category:** Uncategorized\
**Created:** [April 12, 2007, 2:32am UTC](https://forum.kirupa.com/t/flash-php-form-mailer/222266 "2007-04-12T02:32:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhall75](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@rhall75](https://forum.kirupa.com/u/rhall75)\
**Post date:** [April 12, 2007, 2:32am UTC](https://forum.kirupa.com/t/flash-php-form-mailer/222266/1 "2007-04-12T02:32:56Z")

</div>

Hi I am VERY new to PHP, but am well versed in Flash. I am wanting to create a mailer form in Flash. I have my flash form all set up. I need help with the PHP script though. Here is the script I found on this site and it works GREAT! The only thing it is missing is a Phone Number field. With this script below where and how would I add that?

\<?php

$sendTo = “[senocular@hotmail.com](mailto:senocular@hotmail.com)”;  
$subject = “My Flash site reply”;

$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);  
?\>

Thanks in advance!
