+ Reply to Thread
Results 1 to 4 of 4

Thread: forms
      
   

  1. #1
    joaocarloss is offline Private First Class
    Join Date
    Feb 2008
    Posts
    5

    Default forms

    hi my id is 21650 and my name is Joao.
    i am having problems with the forms i am doing everything like in tutorials
    but in the last part where i go to page html in the thank you page doesn`t show up php code for mr to copy


    thanks

  2. #2
    aussiebaz is offline First Lieutenant
    Join Date
    Jan 2007
    Location
    Newcastle , Australia
    Posts
    178

    Default Re: forms

    hI

    While you are in the first tutorial you will be told
    to scroll down the page and copy the html code.

    How to do:

    on the tutorial page scroll almost to bottom
    of the page and you will see some coding like this;
    <?PHP
    $mailto = "youremail@yourdomain.com";
    $email = $HTTP_POST_VARS['email'];
    if ($email == "") {
    $email = $mailto;
    }
    $mailsubj = "Type your mail subject here";
    $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);
    ?>
    ===================================

    Copy and paste this code into your "thank you" page
    by right clicking anywhere on your page in the builder.

    click on "Page HTML" then you will see a box containing your
    html code for your page.

    Click on “Beginning of Body”,
    and paste the code in the window. Please note that you can paste the script code in Start of Page, Inside Body, Between head, practically ANYWHERE. We advise, however, Beginning of Page, for reasons that exceed this tutorial.


    While you have this window open, change the part in blue of the above code with your actual email address, and the actual Email Subject.

    Save your page as “action”. When it will be published, it will automatically be published as “action.php”.



    Hope this helps
    Barry

  3. #3
    swwratnx is offline Private
    Join Date
    Jan 2008
    Posts
    4

    Wink Re: forms

    Check this link. Maybe you can find the solution for your problem.

    http://www.vodahost.com/vodatalk/for...tml#post208585

    I`m from Portugal and your name is João so maybe you speak portuguese. If you need aditional help, do not hesitate to contact me.

    Alexandre Freire
    alpafrei******.com

  4. #4
    abuelo is offline Sergeant Major
    Join Date
    Feb 2008
    Location
    Salt Lake City, Utah
    Posts
    88

    Default Re: forms

    i went through the exact same thing yesterday , if you do what aussibaz tells you it will work, the part you copy is in the written instructions right below the tutorial. good luck

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