Flash contact form problem

  • FroG
  • Born
  • Born
  • No Avatar
  • Joined: Apr 20, 2009
  • Posts: 2
  • Status: Offline

Post April 20th, 2009, 3:01 am

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.This is 4th forum andn o luck..i hope u can help me :)

And i am using AS1 and i guess i publish it also AS1
[COLOR="Red"]Flash content reset[/COLOR]
PHP Code: [ Select ]
 
on (rollOver) {
    gotoAndPlay("t1");
}
on (rollOut,releaseOutside) {
    gotoAndPlay("t2");
}
on (release) {
    _parent.t1 = "your name:";
    _parent.t2 = "your e-mail:";
    _parent.t3 = "message:";
}
 
 
  1.  
  2. on (rollOver) {
  3.     gotoAndPlay("t1");
  4. }
  5. on (rollOut,releaseOutside) {
  6.     gotoAndPlay("t2");
  7. }
  8. on (release) {
  9.     _parent.t1 = "your name:";
  10.     _parent.t2 = "your e-mail:";
  11.     _parent.t3 = "message:";
  12. }
  13.  
  14.  

[COLOR="Red"]Flash content Submit[/COLOR]
PHP Code: [ Select ]
 
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:";
}
 
  1.  
  2. on (rollOver) {
  3.     gotoAndPlay("t1");
  4. }
  5. on (rollOut, releaseOutside) {
  6.     gotoAndPlay("t2");
  7. }
  8. on (release) {
  9.     _parent.getURL("contact.php","_blank","GET");
  10.     _parent.t1 = "your name:";
  11.     _parent.t2 = "your e-mail:";
  12.     _parent.t3 = "message:";
  13. }
  14.  

[COLOR="Red"]And contact.php[/COLOR]
PHP Code: [ Select ]
 
<?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>
 
  1.  
  2. <?php
  3.  
  4.     $your_name = $_GET['t1'];
  5.     $your_email = $_GET['t2'];
  6.     $your_message = $_GET['t3'];
  7.  
  8.    
  9.    
  10.     $recipient_email = "roman@prolink.ee";
  11.    
  12.     $subject = "from " . $your_email;
  13.     $headers = "From: " . $your_name . " <" . $your_email . ">\n";
  14.     $headers .= 'Content-type: text/html; charset=iso-8859-1';
  15.    
  16.     $content = "<html><head><title>Contact letter</title></head><body><br>";
  17.     $content .= "your name: <b>" . $your_name . "</b><br>";
  18.     $content .= "your e-mail: <b>" . $your_email . "</b><br><hr><br>";
  19.     $content .= $your_message;
  20.     $content .= "<br></body></html>";
  21.  
  22.     mail($recipient,$subject,$content,$headers);
  23. ?>
  24. <html>
  25.     <body bgcolor="#282E2C">
  26.         <div align="center" style="margin-top:60px;color:#FFFFFF;font-size:11px;font-family:Tahoma;font-weight:bold">
  27.             Your message was sent. Thank you.
  28.         </div>
  29.     </body>
  30. </html>
  31. <script>resizeTo(300, 300)</script>
  32.  


any idea.? thanks in advance :)
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 20th, 2009, 3:01 am

  • roje0913
  • Student
  • Student
  • No Avatar
  • Joined: Sep 08, 2006
  • Posts: 78
  • Status: Offline

Post April 20th, 2009, 10:29 pm

here is a great tutorial for this, just build on what the tutorial offers 1 form field at a time. I found when I do these flash forms my syntax errors are often the cause of the not working

http://www.kirupa.com/developer/actions ... _email.htm

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 60 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.