# Flash & PHP = formmail

**URL:** <https://forum.kirupa.com/t/flash-php-formmail/181832>\
**Category:** flash\
**Created:** [March 13, 2006, 4:15pm UTC](https://forum.kirupa.com/t/flash-php-formmail/181832 "2006-03-13T16:15:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CIPRIANO](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@CIPRIANO](https://forum.kirupa.com/u/CIPRIANO)\
**Post date:** [March 13, 2006, 4:15pm UTC](https://forum.kirupa.com/t/flash-php-formmail/181832/1 "2006-03-13T16:15:07Z")

</div>

I’ve tryed all night!  
I can’t figure out how to make a formmail in flash and php.

I’ve done everything written on the tutorials but still it won’t work…  
Can somenone help me and maybe tell what i’ve done wrong?

This is what I have coded so far in php:

\<?php  
$sendTo = “[teamspeed@bredband.net](mailto:teamspeed@bredband.net)”;  
$subject = “3g”;  
$headers = "From: " . $\_POST[“[name](http://formfixer.com/ff/ff.cgi)”];  
$headers .= “\<” . $\_POST[“email”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-Path: " . $\_POST[“email”];  
$message = $\_POST[“message”];  
mail($sendTo, $subject, $message, $headers);  
?\>
