>>>>>>MASSIVE KUDOS TO THE FIRST ONE WHO HELPS ME ON THIS>>>>>
I have a contact us form on my flash movie. All fields are coded correctly for input text and the script looks like:
.....
ActionScript Code:
on (release) {
url_var = "server_option="+_root.server_option+"&recipient="+_root.recipient+"&first_name="+_parent.first_name+"&last_name="+_parent.last_name+"&email="+_parent.email+"&comments="+_parent.comments;
getURL("contact."+_root.server_option+"?"+url_var, "_blank", "GET");
_parent.first_name = "";
_parent.last_name = "";
_parent.email = "";
_parent.comments = "";
}
.....
It is calling a file within the same directory called contact.php, which looks like:
.....
PHP Code:
<?
$subject="from".$_GET['your_name'];
$headers= "From:".$_GET['your_email']."\n";
$headers.='Content-type: text/html; charset=iso-8859-1';
mail($_GET['recipient'], $subject, "
<html>
<head>
<title>Contact letter</title>
</head>
<body>
<br>
".$_GET['message']."
</body>
</html>" , $headers);
echo ("Your message was successfully sent!");
?>
<script>
resizeTo(300, 300)
//window.close()
</script>
.....
now, the .swf was uploaded in binary and the php in ASCII, of course. I fill out the form, and hit submit, and all i get is a blank email from my hosting provider, 1&1.
I have verified that php is running on the server. Do i need to create a .htaccess file or something? Is there something obviously wrong with the script(s)?
THIS IS MY FIRST TIME...I really appreciate all the help. I will try to return the favor anyway I can...
Thanks Again.
John G.