# Flash/php email form

**URL:** <https://forum.kirupa.com/t/flash-php-email-form/166981>\
**Category:** programming\
**Created:** [October 24, 2005, 3:21pm UTC](https://forum.kirupa.com/t/flash-php-email-form/166981 "2005-10-24T15:21:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pantas](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@pantas](https://forum.kirupa.com/u/pantas)\
**Post date:** [October 24, 2005, 3:21pm UTC](https://forum.kirupa.com/t/flash-php-email-form/166981/1 "2005-10-24T15:21:46Z")

</div>

hey there mates, followed the [tutorial](http://www.kirupa.com/developer/actionscript/flash_php_email.htm) by senocular, bue added some other inputs…

unfortunnatelly it wont work!checked every step flash and think it’s ok…  
is it my php file? can anyone find any error?  
thanks in advance!  
here goes…

\<?php

$sendTo = “[pantas@oninetspeed.pt](mailto:pantas@oninetspeed.pt)”;  
$subject = “My Flash site reply”;

$headers = “From: " . $\_POST[“firstName”] .” “. $\_POST[“lastname”] . “\<” . $\_POST[“email”] .”\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-path: " . $\_POST[“email”];

$message = "Name: “.$\_POST[‘name’].”  
Surname: “.$\_POST[‘surname’].”  
Title: “.$\_POST[‘title’].”  
Position: “.$\_POST[‘position’].”  
Company: “.$\_POST[‘company’].”  
Adress: “.$\_POST[‘adress’].”  
City: “.$\_POST[‘city’].”  
Country: “.$\_POST[‘country’].”  
Zip-Code: “.$\_POST[‘zip’].”  
Phone: “.$\_POST[‘phone’].”  
Mobile Phone: “.$\_POST[‘mobile’].”  
Fax: “.$\_POST[‘fax’].”  
Email: “.$\_POST[‘email’].”  
Oral Presentation?: “.$\_POST[‘oral’].”  
Poster?: “.$\_POST[‘poster’].”  
Provisory Title: “.$\_POST[‘provisory’].”  
Date: ".$\_POST[‘date’];

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