# PHP/Flash Mail Form Problem

**URL:** <https://forum.kirupa.com/t/php-flash-mail-form-problem/112825>\
**Category:** Uncategorized\
**Created:** [June 11, 2004, 6:09pm UTC](https://forum.kirupa.com/t/php-flash-mail-form-problem/112825 "2004-06-11T18:09:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zak](https://avatars.discourse-cdn.com/v4/letter/z/8e7dd6/32.png) [@Zak](https://forum.kirupa.com/u/Zak)\
**Post date:** [June 11, 2004, 6:09pm UTC](https://forum.kirupa.com/t/php-flash-mail-form-problem/112825/1 "2004-06-11T18:09:36Z")

</div>

I just Have a simple php/flash mail form question.

**So here is my php Script:**  
\<?php  
$sendTo = "Blazo02@aol.com";  
$subject = “Zak Colemans 2004 Summer Portfolio”;

$headers = “From: " . $\_POST[“name”];  
$headers .= “\<” . $\_POST[“email”] .”\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”];  
$headers = "Title: " . $\_POST[“title”];  
$headers = "Telephone: " . $\_POST[“telephone”];  
$headers = "Company: " . $\_POST[“company”];  
$message = $\_POST[“message”];

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

* * *

**And here are my variable names:**  
-name  
-email  
-title  
-telephone  
-company  
-message

* * *

**When you press the button to send the actions are:**

on (release) {  
form.loadVariables(“email.php”, “POST”);  
}

* * *

**And the Movieclip forma actions are:**  
onClipEvent(data){  
\_root.nextFrame();  
}

* * *

Now I am almost 100% sure that it has to do with the php, because that is what i am the worst at, any help at all would be appreciated.

- Thanks a Ton, Zak :bounce:
