Announcement

Collapse
No announcement yet.

Help with basic contact form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help with basic contact form

    Hi, everyone. Taking one member's suggestion (Play It By Beer), I have tried to design a very simple submission form on my contact page.

    I've been thru the tutorial three times, but can't seem to spot what is probably an obvious error.

    I have set up the contact page and my thank you page. But with I tested and hit "Submit Now" I get that evil "404 error" page.

    Could use the assistance of this wonderful form once again.
    Sheryl Tupa
    Cust-M-Cartoons -- 10% Discount Code: "FORUM"
    Personalized Cartoons For Everyone and Personalized Music CDs for Kids
    New Baby Cartoons
    Personalized Cartoons to announce your new arrival!
    Cloud Nine Photo Magic
    Specializing in unique children & pet portraiture

  • #2
    Re: Help with basic contact form

    Sounds do-able. Just post a URL to the form and also cut and paste the php code that you are using to process the form and we'll take a look.

    Andy
    PHP- is a blast!

    Comment


    • #3
      Re: Help with basic contact form

      Okay. Here's what I have pasted in on my "action.php" page which is the Contact page. I put this in the page html section under "Beginning of body" tab.

      <?PHP
      $mailto = "sales@propertyslides.com";
      $email = $HTTP_POST_VARS['email'];
      if ($email == "") {
      $email = $mailto;
      }
      $mailsubj = "Contact Submission Form";
      $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);
      ?>

      Am I putting this in the right place?

      Sheryl Tupa
      Cust-M-Cartoons -- 10% Discount Code: "FORUM"
      Personalized Cartoons For Everyone and Personalized Music CDs for Kids
      New Baby Cartoons
      Personalized Cartoons to announce your new arrival!
      Cloud Nine Photo Magic
      Specializing in unique children & pet portraiture

      Comment


      • #4
        Re: Help with basic contact form

        Sheryl

        Looks right to me... What are you putting on the form? The actual form itself. Thats where you have to call it as the name of your page, not thank you.. but action.php... im guessing thats where the actual error is.

        Right click somewhere on the form itself and get properties. Form name can be whatever i guess, and then the action should be your action.php, post and then multipart form.

        Karen

        VodaHost

        Your Website People!
        1-302-283-3777 North America / International
        02036089024 / United Kingdom
        291916438 / Australia

        ------------------------

        Top 3 Best Sellers

        Web Hosting - Unlimited disk space & bandwidth.

        Reseller Hosting - Start your own web hosting business.

        Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


        Comment


        • #5
          Re: Help with basic contact form

          Sheryl

          Ok.. you have thankyou.php instead of action.php, you have to save it as action.php You can title it thank you etc etc. Try that .. then it will work.

          Karen

          VodaHost

          Your Website People!
          1-302-283-3777 North America / International
          02036089024 / United Kingdom
          291916438 / Australia

          ------------------------

          Top 3 Best Sellers

          Web Hosting - Unlimited disk space & bandwidth.

          Reseller Hosting - Start your own web hosting business.

          Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


          Comment


          • #6
            Re: Help with basic contact form

            Okay. I changed name of thankyou.php to action.php, and I get the correct "Thank You" page I created.

            When I check my email though, this is all that is coming through. No information from the message except:

            Values submitted from web site form :

            Maybe I don't have that code in the right place?
            Sheryl Tupa
            Cust-M-Cartoons -- 10% Discount Code: "FORUM"
            Personalized Cartoons For Everyone and Personalized Music CDs for Kids
            New Baby Cartoons
            Personalized Cartoons to announce your new arrival!
            Cloud Nine Photo Magic
            Specializing in unique children & pet portraiture

            Comment


            • #7
              Re: Help with basic contact form

              I sent you a form submission with test in the fields- did any come through?

              Andy
              PHP- is a blast!

              Comment


              • #8
                Re: Help with basic contact form

                Hi sheryl,

                did you solve the problem ? and, which contact form is this about ? (which site?). Please provide a link.
                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


                • #9
                  Re: Help with basic contact form

                  Naval

                  Her page is here:



                  Karen

                  VodaHost

                  Your Website People!
                  1-302-283-3777 North America / International
                  02036089024 / United Kingdom
                  291916438 / Australia

                  ------------------------

                  Top 3 Best Sellers

                  Web Hosting - Unlimited disk space & bandwidth.

                  Reseller Hosting - Start your own web hosting business.

                  Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


                  Comment


                  • #10
                    Re: Help with basic contact form

                    Andy, can't check my Outlook from work, but will do so as soon as I get home. I sent a test myself and that's when I got the:

                    Values submitted from web site form :

                    and no other information.
                    Sheryl Tupa
                    Cust-M-Cartoons -- 10% Discount Code: "FORUM"
                    Personalized Cartoons For Everyone and Personalized Music CDs for Kids
                    New Baby Cartoons
                    Personalized Cartoons to announce your new arrival!
                    Cloud Nine Photo Magic
                    Specializing in unique children & pet portraiture

                    Comment


                    • #11
                      Re: Help with basic contact form

                      This usually happens when the encoding type is not set to the correct "multipart / form data" . However in your case this is correct, so please check it once again and let us know.
                      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


                      • #12
                        Re: Help with basic contact form

                        Form is working now. What had happened is I pasted the html code on the page where the form was and not on the action.php page. Sent myself a test and all the information was there.

                        Thanks for your help everyone.
                        Sheryl Tupa
                        Cust-M-Cartoons -- 10% Discount Code: "FORUM"
                        Personalized Cartoons For Everyone and Personalized Music CDs for Kids
                        New Baby Cartoons
                        Personalized Cartoons to announce your new arrival!
                        Cloud Nine Photo Magic
                        Specializing in unique children & pet portraiture

                        Comment

                        Working...
                        X