Question
Flash form not sending back data
Hi all I am having problems with a Flash site I am working on
where the send button works the contact.php form but when the email
comes in it has no content in the fields??
button code
on (release) {
_parent.getURL("contact.php","_blank","GET");
_parent.name="Your Name :";
_parent.email="Your Email :";
_parent.message="Your Message :";
}
php code
<?php
$your_name = $_GET['name'];
$your_email = $_GET['email'];
$your_message = $_GET['message'];
$recipient_email = "derek@house-builder.net";
$subject = "from " .$your_email;
$headers = "From:" .$your_name . "<" . $your_email . ">\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1';
$content = "<html><head><title>Contact Letter</title></head><body><br>";
$content .="Name: <b>" . $your_name . "</b><br>";
$content .="Email: <b>" . $your_email . "</b><br><hr><br>";
$content .= $your_message;
$content .= "<br></body></html>";
mail($recipient_email,$subject,$content,$headers);
?>
<html>
<body bgcolor="#996600">
<div align="center" style="margin-top::60px;color:#FFFFFF;font-size:12px;font-family:"Times New Roman", Times, serif;font-weight:bold">
your message was sent. thank you.
</div>
</body>
</html>
<script>resizeTo(300, 300)</script>
email outcome
Name: Your Name :
Email: Your Email :
--------------------------------------------------------------------------------
Your Message :
So you see it is sending the php but not attaching the content
the site is www.kitchen-fitted.co.uk
thank you in advance
best wishes Derek
button code
on (release) {
_parent.getURL("contact.php","_blank","GET");
_parent.name="Your Name :";
_parent.email="Your Email :";
_parent.message="Your Message :";
}
php code
<?php
$your_name = $_GET['name'];
$your_email = $_GET['email'];
$your_message = $_GET['message'];
$recipient_email = "derek@house-builder.net";
$subject = "from " .$your_email;
$headers = "From:" .$your_name . "<" . $your_email . ">\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1';
$content = "<html><head><title>Contact Letter</title></head><body><br>";
$content .="Name: <b>" . $your_name . "</b><br>";
$content .="Email: <b>" . $your_email . "</b><br><hr><br>";
$content .= $your_message;
$content .= "<br></body></html>";
mail($recipient_email,$subject,$content,$headers);
?>
<html>
<body bgcolor="#996600">
<div align="center" style="margin-top::60px;color:#FFFFFF;font-size:12px;font-family:"Times New Roman", Times, serif;font-weight:bold">
your message was sent. thank you.
</div>
</body>
</html>
<script>resizeTo(300, 300)</script>
email outcome
Name: Your Name :
Email: Your Email :
--------------------------------------------------------------------------------
Your Message :
So you see it is sending the php but not attaching the content
the site is www.kitchen-fitted.co.uk
thank you in advance
best wishes Derek
