I have a submit form in my flash document for my website. I am using PHP to communicate with my server, but for some reason, my .php document isn't working. I used Dreamweaver MX 2004 to write it, so...
<?php
$sendTo = "danklumpp@hotmail.com";
$subject = "My Flash Site Reply";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . "\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
Is there anything wrong with that? I got this from the link attached below:
Linky
<?php
$sendTo = "danklumpp@hotmail.com";
$subject = "My Flash Site Reply";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . "\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-Path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
Is there anything wrong with that? I got this from the link attached below:
Linky