Can Anybody Help Me Validating my felds

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

    • Feb 2006
    • 57

    #31
    Re: Can Anybody Help Me Validating my felds

    ok i have done some re-configeration to the link the,the link are http://thiselitelife.com/error_name





    P.S The way i now have confugered you don't have to type .html at the end anymore)

    If you need anything else post agan

    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #32
      Re: Can Anybody Help Me Validating my felds

      Originally posted by jabird60
      ok i have done some re-configeration to the link the,the link are http://thiselitelife.com/error_name







      P.S The way i now have confugered you don't have to type .html at the end anymore)

      If you need anything else post agan
      The pages now are ok. However you still go on creating folders for every single page. This is not a usual aproach to page publishing. It might also create you some problems with scripts that require all of the pages to be in the same folder.

      However, i'll send you the necessary script. Please note that the php file i'll provide you MUST be published in the same folder as your form, that is ..../signup/
      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

      • jabird60
        Sergeant First Class

        • Feb 2006
        • 57

        #33
        Re: Can Anybody Help Me Validating my felds

        ok i if re-done to whole site it is now the way it should be

        Comment

        • navaldesign
          General & Forum Moderator

          • Oct 2005
          • 12080

          #34
          Re: Can Anybody Help Me Validating my felds

          Originally posted by jabird60
          ok i if re-done to whole site it is now the way it should be
          sorry, i lost you somewhere in the way, what's the form URL?
          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

          • jabird60
            Sergeant First Class

            • Feb 2006
            • 57

            #35
            Re: Can Anybody Help Me Validating my felds

            the form url is thiselitelife.com/signups

            Comment

            • navaldesign
              General & Forum Moderator

              • Oct 2005
              • 12080

              #36
              Re: Can Anybody Help Me Validating my felds

              Originally posted by jabird60
              FORM name="Sign Ups" method="POST" action="Turnament Sign Up's.php" enctype="multipart/form-data">

              Change the php page name in "turnament_sign_ups.php"
              Tell me which fields you want to have as "required"
              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

              • jabird60
                Sergeant First Class

                • Feb 2006
                • 57

                #37
                Re: Can Anybody Help Me Validating my felds

                ok i have my script partly working the problem is that it is stuck on the gamer-tag

                Comment

                • navaldesign
                  General & Forum Moderator

                  • Oct 2005
                  • 12080

                  #38
                  Re: Can Anybody Help Me Validating my felds

                  Originally posted by jabird60
                  ok i have my script partly working the problem is that it is stuck on the gamer-tag
                  Rename the field from "Gamer tag" in "Gamertag" . Remember to put in the mail part of the script your email on Vodahost, not an external one.
                  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

                  • jabird60
                    Sergeant First Class

                    • Feb 2006
                    • 57

                    #39
                    Re: Can Anybody Help Me Validating my felds

                    i am using my vodahost account here is the script maybe i did not fix all the errors yet

                    <?php
                    @$Name = addslashes($_POST['Name']);
                    @$Gamertag = addslashes($_POST['Gamertag']);
                    @$Email = addslashes($_POST['Email']);
                    if (strlen($Name) == 0 )
                    {
                    header("Location: error_name.html");
                    exit;
                    }
                    if (! ereg('[A-Za-z0-9_-]+\@[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+', $Email ))
                    {
                    header("Location: error_email.html");
                    exit;
                    }
                    if (strlen($Gamertag) == 0 )
                    {
                    header("Location: error_gamertag.html");
                    exit;
                    }
                    $pfw_header = "From: $Email\n"
                    . "Reply-To: $Email\n";
                    $pfw_subject = "Turnament Signups";
                    $pfw_email_to = "turn@thiselitelfie.com";
                    $pfw_message = "Name: $Name\n"
                    . "Email: $Email\n"
                    . "Gamer Tag: $Gamertag\n";
                    *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
                    header("Location: confirmation.html");

                    Comment

                    • jabird60
                      Sergeant First Class

                      • Feb 2006
                      • 57

                      #40
                      Re: Can Anybody Help Me Validating my felds

                      go to thiselitelife.com/signups and you will see what i mean

                      Comment

                      • navaldesign
                        General & Forum Moderator

                        • Oct 2005
                        • 12080

                        #41
                        Re: Can Anybody Help Me Validating my felds

                        There is nothing wrong with the script. Rename the Gamer tag field in Gamertag--- The field name, not the title. The script finds "Gamer tag" so "Gamertag" is null, and gives you the error message.
                        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

                        • jabird60
                          Sergeant First Class

                          • Feb 2006
                          • 57

                          #42
                          Re: Can Anybody Help Me Validating my felds

                          Dude you awsome

                          Comment

                          • jabird60
                            Sergeant First Class

                            • Feb 2006
                            • 57

                            #43
                            Re: Can Anybody Help Me Validating my felds

                            ok i have one more question i have a Check box and a comment feld. and when i get the e-mailed data it only has the name,e-mail,and gamertag

                            Comment

                            • navaldesign
                              General & Forum Moderator

                              • Oct 2005
                              • 12080

                              #44
                              Re: Can Anybody Help Me Validating my felds

                              Originally posted by jabird60
                              ok i have one more question i have a Check box and a comment feld. and when i get the e-mailed data it only has the name,e-mail,and gamertag
                              Of course. you only put those in your mail body. Change it to:

                              <?php
                              @$Name = addslashes($_POST['Name']);
                              @$Gamertag = addslashes($_POST['Gamertag']);
                              @$Email = addslashes($_POST['Email']);
                              @$Comments = addlashes($_POST['Comments'];
                              @$Send_Me_News_Letter = addlashes($_POST['Send_Me_News_Letter'];

                              if (strlen($Name) == 0 )
                              {
                              header("Location: error_name.html");
                              exit;
                              }
                              if (! ereg('[A-Za-z0-9_-]+\@[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+', $Email ))
                              {
                              header("Location: error_email.html");
                              exit;
                              }
                              if (strlen($Gamertag) == 0 )
                              {
                              header("Location: error_gamertag.html");
                              exit;
                              }
                              $pfw_header = "From: $Email\n"
                              . "Reply-To: $Email\n";
                              $pfw_subject = "Turnament Signups";
                              $pfw_email_to = "turn@thiselitelfie.com";
                              $pfw_message = "Name: $Name\n"
                              . "Email: $Email\n"
                              . "Gamer Tag: $Gamertag\n"
                              . "Comments : $Comments\n"
                              . "Send Me News Letter : $Send_Me_Newsletter\n";
                              *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
                              header("Location: confirmation.html");
                              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

                              • hreftovoda
                                Private First Class

                                • Jan 2006
                                • 8

                                #45
                                Re: Can Anybody Help Me Validating my felds

                                Navaldesign, do you have freetime most of the time? because i notice that you always in the forum. but that is good, so all the one need help will get the answer straight away. Thank you. I'm just curious :)

                                Comment

                                Working...
                                X