The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 4 of 4

Thread: PHP contact form question,going to the thank you screen

  1. #1

    PHP contact form question,going to the thank you screen

    I made a contact form...and it works...it send the email fine...but it doesnt go to the thankyou screen...so the person cant tell if when he clicked "send" if it really sent...any ideas?...i used this tutorial...http://www.kirupa.com/developer/acti..._php_email.htm,

    you can see the site im working on at www.akmphoto.net and its site number 1

  2. #2
    what I did when i made something similar was

    PHP Code:
    if(mail($sendTo$subject$message$headers)){
    echo 
    'status=1';
    }else{
    echo 
    'status=0';
    }; 
    maybe the onClipEvent need to recieve something from the server.

    hope this helps.

  3. #3
    Quote Originally Posted by dpg-105 View Post
    what I did when i made something similar was

    PHP Code:
    if(mail($sendTo$subject$message$headers)){
    echo 
    'status=1';
    }else{
    echo 
    'status=0';
    }; 
    maybe the onClipEvent need to recieve something from the server.

    hope this helps.
    ya the tutorial said something about making sure the movieclip is there long enough for something...what does it mean?

  4. #4
    On the movieclip from where i send the form values I have the following as:

    Code:
    onClipEvent(data){
    	//activate success msg here
    }
    The mc from where I send the form, called from anyplace : (_root.form_mc.loadVariables('./flashmail.php','POST');

    try to make a movie with only the form and c if that works and work from there, maybe something is intervering with it (mc names or whatever).

    Goodluck

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012