# Flash form- php mailer trouble

**URL:** https://forum.kirupa.com/t/flash-form-php-mailer-trouble/57526
**Category:** Uncategorized
**Created:** [July 13, 2004, 11:43pm UTC](https://forum.kirupa.com/t/flash-form-php-mailer-trouble/57526 "2004-07-13T23:43:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![afmaury](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@afmaury](https://forum.kirupa.com/u/afmaury)
#### Post date: [July 13, 2004, 11:43pm UTC](https://forum.kirupa.com/t/flash-form-php-mailer-trouble/57526/1 "2004-07-13T23:43:16Z")

</div>

i have followed the tutorial on kirupa about creating a form which then uses php to email the info from the form. i believed that i have followed it exactly and my server is supposed to support php according to their site.

when i try to test the form by clidking on the “send” button, nothing happens. the status bar says that data is being transferred, but nothing ever happens. i have the form in a .swf which is loaded into the main movie.

any ideas as to what i may be doing wrong??

thanks in advance for any help.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 14, 2004, 12:17am UTC](https://forum.kirupa.com/t/flash-form-php-mailer-trouble/57526/2 "2004-07-14T00:17:39Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 14, 2004, 12:23am UTC](https://forum.kirupa.com/t/flash-form-php-mailer-trouble/57526/3 "2004-07-14T00:23:48Z")

</div>

here is the php script that i am using - titled “email.php”

\<?php

$sendTo = "andrew@andrewmaury.com";  
$subject = “website reply”;

$headers = “From: " . $\_POST[“name”];  
$headers = “subject: " . $\_POST[“subject”];  
$headers .= “\<” . $\_POST[“email”] .”\>  
”;  
$headers .= "Reply-To: " . $\_POST[“email”];

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

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

My send button has the following AS:  
on (release) {  
\_root.containter.contact.formMovie.form.loadVariables(“email.php”, “POST”);  
}

And my form movie has this AS:  
onClipEvent (data) {  
\_root.container.contact.formMovie.nextFrame();  
}

Anyone have any ideas?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 14, 2004, 12:46am UTC](https://forum.kirupa.com/t/flash-form-php-mailer-trouble/57526/4 "2004-07-14T00:46:19Z")

</div>

ok…i have figured this out for the most part. i still have one problem though. even though i get the emails and the movie goes from displaying the form to a “thank you” screen, the status bar still says “transferring data…” I don’t think it is a real big deal, but I would like to fix it. Any ideas why this might be happening?
