Hi all any one please help, i have a buttin in flash 8 which gets a form contact.php but when it is pressed the emial ruturns empty as follows
1 the flash button
2 the form
3 the email outcome (empty)
the form
on (release) {
_parent.getURL("contact.php","_blank",
"GET");
_parent.name="";
_parent.phone="";
_parent.email="";
_parent.message="";
}
the contact.php (this has been cleared in the php department) it should work
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Contact</title>
</head>
<?php
$to = "derek@concrete-crusher.co.uk";
$subject = "Contact letter";
$message = "Hello! \n";
$message .= "Name: " . $_GET['name'] . "\n";
$message .= "Phone: " . $_GET['phone'] . "\n";
$message .= "E-mail: " . $_GET['email'] . "\n";
$message .= $_GET['message'] . "\n";
$headers = "From: " . $_GET['email'] . "\r\n" .
"Reply-To: " . $_GET['email'] . "\r\n" .
"X-Mailer: PHP/" . phpversion();
mail($to, $subject, $message, $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>r
<body>
</body>
</html>
the emial outcome
Hello!
Name:
Phone:
E-mail:
no content any one help please
Best wishes Derek