Form Problem?

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

    • Feb 2006
    • 53

    Form Problem?

    I am still having problems with my booking form, I have uploaded the script for it, if I leave the mailto email address in the form it just wants to send it by standard email, if I deleat this it just says cannot find page?? H>E>L>P .
    Pixel
    www.pixel-photo-images.co.uk
    www.flynnphotography.co.uk
    "a photograph is a memory locked in time,look at that memory & you will remember"
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: Form Problem?

    Please read Basics about Forms the answer on why it tries to send it by email is there. The solution also.

    then if you need help post again.
    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

    • Pixel
      Sergeant First Class

      • Feb 2006
      • 53

      #3
      Re: Form Problem?(Navaldesign)

      Hi Navaldesign, I am Still non the wiser?? Below is the script I have uploaded. What Have I done Wrong??
      HTML>
      <HEAD>
      <TITLE>Succesfully processed your booking</TITLE>
      <style type="text/css">
      <!--
      .style1 {
      color: #990000;
      font-weight: bold;
      }
      -->
      </style>
      </HEAD>
      <BODY>
      <h1 class="style1">Thank you for your booking!</h1>
      <p class="style1"><img src="../photos/DSCF0615%20(718%20x%20246).jpg" width="718" height="246"> </p>
      <h1 class="style1">We will be in touch soon. </h1>
      <?PHP
      $email = $HTTP_POST_VARS[email];
      $mailto = "ifo@flynnphotography.co.uk";
      $mailsubj = "BOOKING";
      $mailhead = "From: $email\n";
      reset ($HTTP_POST_VARS);
      $mailbody = "Values submitted from web site form:\n";
      while (list ($key, $val) = each ($HTTP_POST_VARS))
      {
      $mailbody .= "$key : $val\n";
      }
      mail($mailto, $mailsubj, $mailbody, $mailhead);
      ?>
      </BODY>
      </HTML>
      Pixel
      www.pixel-photo-images.co.uk
      www.flynnphotography.co.uk
      "a photograph is a memory locked in time,look at that memory & you will remember"

      Comment

      • navaldesign
        General & Forum Moderator

        • Oct 2005
        • 12080

        #4
        Re: Form Problem?

        Hold on 5 mins. I'll come back with full instructions
        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

        • navaldesign
          General & Forum Moderator

          • Oct 2005
          • 12080

          #5
          Re: Form Problem?(Navaldesign)

          <?PHP
          $email = $HTTP_POST_VARS[email];
          $mailto = "youremail address";
          $mailsubj = "New Order";
          $mailhead = "From: $email\n";
          reset ($HTTP_POST_VARS);
          $mailbody = "Values submitted from web site form:\n";
          while (list ($key, $val) = each ($HTTP_POST_VARS))
          {
          $mailbody .= "$key : $val\n";
          }
          mail($mailto, $mailsubj, $mailbody, $mailhead);
          header("Location: http://www.yourdomain.com/thankyou_page.html");
          ?>

          Copy this code, paste it in Notepad. Go to "Save as" , choose for "File type" "All files" and save it with the same name that you used till now, f.e. "feedback.php". Upload it on your site using Blue FTP. For the thankyou page, create and publish a normal BV page, save it as "thankyou_page" and publish it. You're done.
          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

          • navaldesign
            General & Forum Moderator

            • Oct 2005
            • 12080

            #6
            Re: Form Problem?

            Of course you can change the subject "New Order" to be as you like it, and you can also change the first line of the body, from "Values submitted....." in whatever you want. Change your email and the "yourdomain.com". Please also note that the email field in your form must be named "email". Upload the URL of your form so i can have a look. Please also note that you have probably mistaken your email address : shouldn't that be info ? because in the script you have "ifo". Maybe that was all your problem. Also try, if it doesn't work, to set the encoding type to "multipart/form data"
            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

            • Pixel
              Sergeant First Class

              • Feb 2006
              • 53

              #7
              Re: Form Problem?

              Thank you sooooo much! Naveldesign you have cured my headache.
              You should be on the payroll? with the amount of help you give everyone freely. It is much appreciated. PIXEL
              Pixel
              www.pixel-photo-images.co.uk
              www.flynnphotography.co.uk
              "a photograph is a memory locked in time,look at that memory & you will remember"

              Comment

              Working...
              X