I'm using a flash form fill email to have people email me using php to handle the mail
I'm getting the mail, but none of the elements ie: name , email and message
here is what the email message looks like:
In the From field the word name appears
in the body the folowing appears:
Name: name
E-mail: email
message
here is a copy of the contact.php code:
<?php
$name = $GET['name'];
$email = $GET['email'];
$message = $_GET['message'];
$recipient_email = "info@crimsonfilm.com";
$subject = "Crimson Film";
$headers = "From:" . $name" <" . $email . ">\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1';
$content = "<html><head><title>Contact letter</title></head><body><br>";
$content .= "Name: <b>" . $name . "</b><br>";
$content .= "E-mail: <b>" . $email . "</b><br><hr><br>";
$content .= $message;
$content .= "<br></body></html>";
mail($recipient_email,$subject,$content,$headers);
?>
<html>
<body bgcolor="#282E2C">
<div align="center" style="margin-top:60px;color:#FFFFFF;font-size:11px;font-family:Tahoma;font-weight:bold">
Your message was sent. Thank you.
</div>
</body>
</html>
<script>resizeTo(300, 300)</script>
The varibale fields in FLASH are properly titled: name, email and message
Can someone help me please!!!