HI
I have a flash templates..that uses php as well
now I have a problem with my contact page as follows:
the user enter his name, email and message into flash input whose Var are: your_name, your_email and message.
then the user should press the send button and the actionscript code for the send button is:
on (release)
{
url_var = "server_option= " + _root.server_op tion + "&recipient =" + _root.recipient + "&your_name =" + _parent.your_na me + "&your_emai l=" + _parent.your_em ail + "&message=" + _parent.message ;
getURL("contact ." + _root.server_op tion + "?" + url_var, "_blank", "GET");
_parent.your_na me = "";
_parent.your_em ail = "";
_parent.message = "";
}
But when I actually press the send button a window pop up with the HTTP 404 error.
Here is also the contact page code that has been called :
<?
$subject="from" .$_GET['your_name'];
$headers= "From:".$_G ET['your_email']."\n";
$headers.='Cont ent-type: text/html; charset=iso-8859-1';
mail($_GET['recipient'], $subject, "
<html>
<head>
<title>Contac t letter</title>
</head>
<body>
<br>
".$_GET['message']."
</body>
</html>" , $headers);
echo ("your message was sent!");
?>
<script>
resizeTo(300, 300)
//window.close()
</script>
Can anyone help me to figure out why these codes do not work?....
Thank you
Paola
I have a flash templates..that uses php as well
now I have a problem with my contact page as follows:
the user enter his name, email and message into flash input whose Var are: your_name, your_email and message.
then the user should press the send button and the actionscript code for the send button is:
on (release)
{
url_var = "server_option= " + _root.server_op tion + "&recipient =" + _root.recipient + "&your_name =" + _parent.your_na me + "&your_emai l=" + _parent.your_em ail + "&message=" + _parent.message ;
getURL("contact ." + _root.server_op tion + "?" + url_var, "_blank", "GET");
_parent.your_na me = "";
_parent.your_em ail = "";
_parent.message = "";
}
But when I actually press the send button a window pop up with the HTTP 404 error.
Here is also the contact page code that has been called :
<?
$subject="from" .$_GET['your_name'];
$headers= "From:".$_G ET['your_email']."\n";
$headers.='Cont ent-type: text/html; charset=iso-8859-1';
mail($_GET['recipient'], $subject, "
<html>
<head>
<title>Contac t letter</title>
</head>
<body>
<br>
".$_GET['message']."
</body>
</html>" , $headers);
echo ("your message was sent!");
?>
<script>
resizeTo(300, 300)
//window.close()
</script>
Can anyone help me to figure out why these codes do not work?....
Thank you
Paola
Comment