dont know wher i went wrong PLEASE HELP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • buster40
    Private First Class

    • Jul 2007
    • 6

    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
    Buster A Keanan
    Big B's Disco
    Aurenteni
    Design Rite
  • Watdaflip
    Major General

    • Sep 2005
    • 2116

    #2
    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

    Comment

    • buster40
      Private First Class

      • Jul 2007
      • 6

      #3
      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);
      ?>
      Buster A Keanan
      Big B's Disco
      Aurenteni
      Design Rite

      Comment

      • navaldesign
        General & Forum Moderator

        • Oct 2005
        • 12080

        #4
        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!

        Comment

        • Andy128
          Major General

          • Dec 2005
          • 2317

          #5
          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!

          Comment

          Working...
          X