Announcement

Collapse
No announcement yet.

Horray, horray...but I still need help

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

  • #31
    Re: Horray, horray...but I still need help

    Ok- I have found the problem. You have published two contact_us forms.
    One is in the main public_html area and the second is in the folder
    contact.

    So here is what we do. On your main page (index) change the hyperlink to : http: //simplelifestyles.net/contact/contact_us.html
    This will direct the user to the correct form.

    Then use the FTP Manager to delete the other contact_us form (page).
    MAKE SURE NOT TO DELETE THE ONE IN THE CONTACT FOLDER.

    I actually tested your form and it worked. Now we just have to see if you
    received the e-mail.

    Andy
    PHP- is a blast!

    Comment


    • #32
      Re: Horray, horray...but I still need help

      I changed the hyperlink to simplelifestyles.net/contact/contact_us.html on my index page.

      Then I went to the FTP manager and deleted the contact_us page
      I lost the connection on the main page when I clicked on Contact Us. I changed the link in every page to the one you suggested.
      Nothing
      Nancy

      www.theorganizedzone.com

      Comment


      • #33
        Re: Horray, horray...but I still need help

        Nancy-
        When I click on the nav bar on your main page- this is the hyperlink that is displayed:
        http: //www.simplelifestyles.net/%20//simplelifestyles.net/contact/contact_us.html

        This is what it should be:
        http://www.simplelifestyles.net/contact/contact_us.html

        For some reason, when you typed in the new one it added it to the existing.

        Did you receive the test e-mail from your form?

        Don't loose heart- we are close.

        Andy
        PHP- is a blast!

        Comment


        • #34
          Re: Horray, horray...but I still need help

          hahahahhaha..........I finally got it.....
          I typed the hyperlink incorrectly.....but we HAVE IT NOW

          THANKS,
          NANCY BTW....LOVE YOUR SITE
          Nancy

          www.theorganizedzone.com

          Comment


          • #35
            Re: Horray, horray...but I still need help

            I take it the e-mail came through!

            Cheers-

            Andy
            PHP- is a blast!

            Comment


            • #36
              Re: Horray, horray...but I still need help

              I checked my mail in the control panel and there is none...I guess there is another process for that?
              Nancy

              www.theorganizedzone.com

              Comment


              • #37
                Re: Horray, horray...but I still need help

                Ok- almost there. The php script on the tutorial that you were to copy and paste in the "page html" area of the thankyou page- can you paste it
                here so I may have a look?

                To do so- right click on an open area of the thanyou page and click on "page html". Then click on Inside body tag. In the white area should be the code you pasted. Copy that and then paste it here on the forum.

                Also- what e-mail address are you sending it to?

                Andy
                PHP- is a blast!

                Comment


                • #38
                  Re: Horray, horray...but I still need help

                  Andy, thanks for hanging in there with me. I am beat, so I guess we'll have to pick this up tomorrow. Thanks sooooooooooo much.

                  Nancy
                  Nancy

                  www.theorganizedzone.com

                  Comment


                  • #39
                    Re: Horray, horray...but I still need help

                    Cool. Good night.

                    Andy
                    PHP- is a blast!

                    Comment


                    • #40
                      Re: Horray, horray...but I still need help


                      consult@simplelifestyles.net

                      <script language="php">
                      $email = $HTTP_POST_VARS[email];
                      $mailto = "consult@simplelifestyles.net";
                      $mailsubj = "Form submission";
                      $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"; }
                      if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
                      Nancy

                      www.theorganizedzone.com

                      Comment


                      • #41
                        Re: Horray, horray...but I still need help

                        You missed the last part of the script when you cut and paste. If you put

                        </script>

                        at the very end (and so long as the script was placed Inside body tag- then it should work once corrected.) Remember to save/publish and that should do it. So it should look like;

                        <script language="php">
                        $email = $HTTP_POST_VARS[email];
                        $mailto = "consult@simplelifestyles.net";
                        $mailsubj = "Form submission";
                        $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"; }
                        if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }

                        </script>


                        Let me know.

                        Andy
                        PHP- is a blast!

                        Comment


                        • #42
                          Re: Horray, horray...but I still need help

                          I only missed it when I pasted it to you...it's there.
                          Nancy

                          www.theorganizedzone.com

                          Comment


                          • #43
                            Re: Horray, horray...but I still need help

                            And we're certain it is pasted in Inside body tag of the thankyou page?

                            Andy
                            PHP- is a blast!

                            Comment


                            • #44
                              Re: Horray, horray...but I still need help

                              I just checked again. I clicked View, page html, inside body tag and the script is there.
                              Nancy

                              www.theorganizedzone.com

                              Comment


                              • #45
                                Re: Horray, horray...but I still need help

                                andy, I really appreciate this but we can continue this tomorrow. I feel bad that I'm keeping you up.
                                Nancy

                                www.theorganizedzone.com

                                Comment

                                Working...
                                X