Help with the thank you page please

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • shakari3
    Sergeant First Class

    • Apr 2008
    • 50

    Help with the thank you page please

    Hi Folks

    I'm very new to site building but I've managed to build a series of pages and then plan to link them together and go live etc............BUT when I follow the instructions on how to build the thank for you contacting us page, I get stuck where it tells me to copy, paste and alter the coding.

    It tells me to alter the e-mail address etc in the code, but the part that's shown in the instructions isn't there in the code I copy and paste...... Can someone out there tell me if I'm missing something or if I need to go live before it'll work, or if I'm just having a blonde moment?

    Thanks in advance!
  • caroleo
    Sergeant

    • May 2008
    • 22

    #2
    Re: Help with the thank you page please

    Hi.........I'm very new to this too, but I had the same problem so hopefully I can help you, below is the text you need to paste in between the head tag. You just change the detail of your mail address (as i've shown in blue) and the contact form submission can probably stay the same, if that's what its for.

    I also changed over to the Bv version 10D which has helped and I'm sure I read that if you have that version there should be no need to cut and paste the text. I've added the links for BV 10D for you at the bottom.

    hope it helps:)


    <?PHP
    $mailto = "youremailaddress";
    $email = $HTTP_POST_VARS['email'];
    if ($email == "") {
    $email = $mailto;
    }
    $mailsubj = "contact form submission";
    $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);
    ?>
    =====================



    Click Here to Download BlueVoda 10.0 D (Zipped Version)

    Click Here to Download BlueVoda 10.0 D (Un-Zipped Version)
    sigpicmorairabandb.co.uk

    Comment

    • shakari3
      Sergeant First Class

      • Apr 2008
      • 50

      #3
      Re: Help with the thank you page please

      Thanks, I'll give it a try!

      Comment

      Working...
      X