Issue with Kirupa.com Flash/PHP form tutorial

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 = "[email protected]"; I inserted my actual email here, I deleted it because I don’t want the world knowing it from here :slight_smile:
$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!