+ Reply to Thread
Results 1 to 5 of 5

Thread: dont know wher i went wrong PLEASE HELP
      
   

  1. #1
    buster40 is offline Private First Class
    Join Date
    Jul 2007
    Posts
    6

    Default dont know wher i went wrong PLEASE HELP

    i have just spent 3 hours doing a feedback form on my site this is where it is: www.bigbdisco.co.uk/feed_back.html it will not do anything can some one tell me where i have gone wrong,

    i followed the 2 videos that are provided

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: dont know wher i went wrong PLEASE HELP

    post the code your are using on action.php

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    buster40 is offline Private First Class
    Join Date
    Jul 2007
    Posts
    6

    Default Re: dont know wher i went wrong PLEASE HELP

    this is what they say to put in the page:

    <?PHP
    $mailto = "exampleemail@example.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);
    ?>

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Re: dont know wher i went wrong PLEASE HELP

    And this is correct. However, REPLACE the parts in blue with your own email address, as well as the desired subject and start of message, and then save/republish/refresh browser / test
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: dont know wher i went wrong PLEASE HELP

    The code is correct as Naval has stated- simply make the changes he pointed out in the php code. However your action is listed on the form as:
    "http: //www.mycontactform.com/sendform/sendform.php"

    while you have an action.php page. Additionally- there is no subfolder - sendform that I can see.

    So- I would make the action on the form action.php then save and re-publish. Then test the form and post back.

    Andy
    PHP- is a blast!

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