Results 1 to 2 of 2

Thread: Shayanjr (moneytreehouse.com)
      
   

  1. #1
    shayanjr is offline Private First Class
    Join Date
    Feb 2007
    Location
    London
    Posts
    5

    Question Shayanjr (moneytreehouse.com)

    Can anyone tell me how and where I can find the php code to make my thank you page work?

  2. #2
    AmaDee is offline Colonel
    Join Date
    Jun 2006
    Location
    Stone Mountain, GA
    Posts
    851

    Default Re: Shayanjr (moneytreehouse.com)

    copy and paste this in the "inside body tag" of your page html making sure to change the colored part

    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = "youremailaddress********.com";
    $mailsubj = "Your Subject";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form :\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    ?>

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49