# Issue with Kirupa.com Flash/PHP form tutorial

**URL:** <https://forum.kirupa.com/t/issue-with-kirupa-com-flash-php-form-tutorial/244201>\
**Category:** flash\
**Created:** [November 15, 2007, 4:43am UTC](https://forum.kirupa.com/t/issue-with-kirupa-com-flash-php-form-tutorial/244201 "2007-11-15T04:43:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pivotal76](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@pivotal76](https://forum.kirupa.com/u/pivotal76)\
**Post date:** [November 15, 2007, 4:43am UTC](https://forum.kirupa.com/t/issue-with-kirupa-com-flash-php-form-tutorial/244201/1 "2007-11-15T04:43:54Z")

</div>

I’ve scoured the web high and low and cannot find a tutorial for this that actually works despite my efforts at checking and rechecking it. I never receive any email. Any help would be appreciated. I’ll try and lay everything out.

Three input fields: Name, Message and Email Address. All have assigned var names as name, message and email. Fields are within a mc called “form”.

Submit button has this code:

[COLOR=“Red”]on (release) {  
form.loadVariables(“emailForm.php”, “POST”);  
gotoAndStop(2);  
}[/COLOR]

The Form mc has this code:

[COLOR=“red”]onClipEvent(data){  
nextFrame();  
}[/COLOR]

My PHP file has this code:

[COLOR=“red”]\<?php  
$sendTo = "name@domain.com"; **I inserted my actual email here, I deleted it because I don’t want the world knowing it from here 🙂**  
$subject = “From My Web Site”;  
$headers = "From: " . $\_POST[“name”];  
$headers .= “\<” . $\_POST[“email”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-Path: " . $\_POST[“email”];  
$message = $\_POST[“message”];  
mail($sendTo, $subject, $message, $headers);  
?\>[/COLOR]

Does anyone happen to know why this doesn’t work? I also tried creating the PHP form using my ISP’s web hosting tools (AT&T Yahoo). If anyone happens to know if there is something specific I need to do to get it to work with AT&T Yahoo that would be great. I’ll also need to know if there’s anything specific to Network Solutions.

I appreciate any and all help very much!
