chiefashley
03-19-2007, 08:52 PM
Hello,
I need help! and i knew this would be the best place to come...
I am doing a website in flash and am having trouble getting the contact form to work.
I've made my contact page with input fields for name, email and message, and named them t1, t2, and t3
This is the code I'm working with, and I'm not quite sure I understand it...
<?
$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>
can you help?
Thanks!
I need help! and i knew this would be the best place to come...
I am doing a website in flash and am having trouble getting the contact form to work.
I've made my contact page with input fields for name, email and message, and named them t1, t2, and t3
This is the code I'm working with, and I'm not quite sure I understand it...
<?
$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>
can you help?
Thanks!