Log in

View Full Version : Resolved Flash contact form problem.



frog
04-19-2009, 07:20 PM
Hello,
I just tried to set up to my flash website contact form and came up the problem. All thing is good even when fill all boxes and pressing to submit it says my email was sent but when i check it i found nothing, i was trying several mails but nothing.. Maybe any idea? i post my script what i use. i was tryed CHMOD 0755 but no results
Flash content reset


on (rollOver) {
gotoAndPlay("t1");
}
on (rollOut,releaseOutside) {
gotoAndPlay("t2");
}
on (release) {
_parent.t1 = "your name:";
_parent.t2 = "your e-mail:";
_parent.t3 = "message:";
}


Flash content Submit


on (rollOver) {
gotoAndPlay("t1");
}
on (rollOut, releaseOutside) {
gotoAndPlay("t2");
}
on (release) {
_parent.getURL("contact.php","_blank","GET");
_parent.t1 = "your name:";
_parent.t2 = "your e-mail:";
_parent.t3 = "message:";
}

And contact.php


<?php

$your_name = $_GET['t1'];
$your_email = $_GET['t2'];
$your_message = $_GET['t3'];



$recipient_email = "roman@prolink.ee";

$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 .= "your name: <b>" . $your_name . "</b><br>";
$content .= "your e-mail: <b>" . $your_email . "</b><br><hr><br>";
$content .= $your_message;
$content .= "<br></body></html>";

mail($recipient,$subject,$content,$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>


any idea.? thanks in advance :)

Medyman
04-20-2009, 04:54 PM
http://gotoandlearn.com/play?id=50