HI there,
i'm using a flash and php form.
The problem lie in the PHP I only seem to get the field titles (Name and telephone) coming through and not the data they contain.
Could somebody tell me what i'm doing wrong?
<?php
$sendTo = "
[email protected]";
$subject = "An enquiry";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
$message = "telephone: ".$strtelephone."\r\n";
$message .= "message: ".$strmessage."\r\n";
mail($sendTo, $subject, $message, $headers);
?>
thank you