Is there a tutorial for php script for Form here ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #31
    Re: Is there a tutorial for php script for Form here ?

    You are using BV to create your site. Then since BVwill not publish in your site (because it is not Vodahost) you save the preview page in your computer, then copy the code and paste it in your server. First: this way the dynamic features of BVwill not work, second, it creates conflicts. Anyway, the php script is intended to be uploaded using FTP, not copying and pasting.
    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

    • WSBlue
      Brigadier General

      • Apr 2006
      • 1415

      #32
      Re: Is there a tutorial for php script for Form here ?

      Originally posted by navaldesign
      You are using BV to create your site. Then since BVwill not publish in your site (because it is not Vodahost) you save the preview page in your computer, then copy the code and paste it in your server. First: this way the dynamic features of BVwill not work, second, it creates conflicts. Anyway, the php script is intended to be uploaded using FTP, not copying and pasting.
      Then, Please tell me what I should do?
      MUST I create an account with Vodahost in order to make it work?
      But I did it earlier using generic script provided by BV. I copied and pasted and it worked.
      I could send my form to my own e mail, but my own email address didn't show up as a sender.
      Please advise!
      Thank you
      WSBlue

      Comment

      • WSBlue
        Brigadier General

        • Apr 2006
        • 1415

        #33
        Re: Is there a tutorial for php script for Form here ?

        Originally posted by WSBlue
        Then, Please tell me what I should do?
        MUST I create an account with Vodahost in order to make it work?
        But I did it earlier using generic script provided by BV. I copied and pasted and it worked.
        I could send my form to my own e mail, but my own email address didn't show up as a sender.
        Please advise!
        Thank you
        WSBlue
        .................................................. .................................................. ....

        Comment

        • navaldesign
          General & Forum Moderator

          • Oct 2005
          • 12080

          #34
          Re: Is there a tutorial for php script for Form here ?

          I want to be honest with you: the php script will work, if properly set up, either way. But, since you are creating your pages with BV, you will see that ALL of the dynamic features of BV will NOT work on any other server. You won't have rollovers, Galleries, Dropdown menus, mouseover effects an so on. So, if you really want to have a nice site (most important for people like you who count on it for their job) i would suggest you to get yourself a Vopdahost account. As you can see, we also provide Graet Support.
          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

          • WSBlue
            Brigadier General

            • Apr 2006
            • 1415

            #35
            Re: Is there a tutorial for php script for Form here ?

            Originally posted by navaldesign
            I want to be honest with you: the php script will work, if properly set up, either way. But, since you are creating your pages with BV, you will see that ALL of the dynamic features of BV will NOT work on any other server. You won't have rollovers, Galleries, Dropdown menus, mouseover effects an so on. So, if you really want to have a nice site (most important for people like you who count on it for their job) i would suggest you to get yourself a Vopdahost account. As you can see, we also provide Graet Support.

            I thought, I tried it out with my local server here as I can call and ask questions with them before I transfer my account to Voda cause I am afraid I can get my site publish properly like as I wish.
            I will consider about your suggestion .
            Your future help and support will be higly aprreciated after I transfer my account with Voda. OK?
            Please let me learn, how to do account transfer first, create e mail address and redirect and affiliate programme and others.
            Thanks
            WS_bLUE

            Comment

            • WSBlue
              Brigadier General

              • Apr 2006
              • 1415

              #36
              Re: Is there a tutorial for php script for Form here ?

              Originally posted by navaldesign
              Hi WSBlue, your http://www.beruang.biz/formulir.htm needs some corrections. Rename the second upload field. It has the same name as the first one. Also correct the tahunpembuatan] field. Take the ] off. Republish and let me know.
              "We are an experienced team of graphic designers, project directors, machines operators and marketers. Since almost all our clients are through referrals, our business is built on happy customers. We’re not happy unless you’re happy. ^ ^ Providing Digital and Offset Printing, Branding, POP Display, Merchandise and Multimedia Services."

              Hi! Naval
              Thanks for script which you provided earlier for my ("Contact Us".)
              http://www.beruang.biz/hubungikami.htm (Contact Us)

              Now,
              I try to do this ("Form") on my own by trying to follow what you provided for ("Contact Us".)
              http://www.beruang.biz/formulir.htm (Form)
              but failed. Could you, please take a look of what I did.
              <?php
              // Receiving variables
              @$agtnamalengkap = addslashes($_POST['agtnamalengkap']);
              @$agtktpnomor = addslashes($_POST['agtktpnomor']);
              @$agtktpdikeluarkan = addslashes($_POST['agtktpdikeluarkan']);
              @$agtktpberlaku = addslashes($_POST['agtktpberlaku']);
              @$agttanggallahir = addslashes($_POST['agttanggallahir']);
              @$agtbulanlahir = addslashes($_POST['agtbulanlahir']);
              @$agttahunlahir = addslashes($_POST['agttahunlahir']);
              @$agtalamatjalan = addslashes($_POST['agtalamatjalan']);
              @$agtalamatkota = addslashes($_POST['agtalamatkota']);
              @$agtalamatpropinsi = addslashes($_POST['agtalamatpropinsi']);
              @$agtalamatkodepos = addslashes($_POST['agtalamatkodepos']);
              @$agttelhp = addslashes($_POST['agttelhp']);
              @$agtemail = addslashes($_POST['agtemail']);
              @$agtsimnomor = addslashes($_POST['agtsimnomor']);
              @$agtsimjenis = addslashes($_POST['agtsimjenis']);
              @$agtsimdikeluarkan = addslashes($_POST['agtsimdikeluarkan']);
              @$agtsimberlaku = addslashes($_POST['agtsimberlaku']);
              @$kerjanamaperusahaan = addslashes($_POST['kerjanamperusahaan']);
              @$kerjajenisusaha = addslashes($_POST['kerjajenisusaha']);
              @$kerjaalamatjalan = addslashes($_POST['kerjaalamatjalan']);
              @$kerjaalamatkota = addslashes($_POST['kerjaalamatkota']);
              @$kerjaalamatpropinsi = addslashes($_POST['kerjaalamatpropinsi']);
              @$kerjaalamatkodepos = addslashes($_POST['kerjaalamatkodepos']);
              @$kerjatel = addslashes($_POST['kerjatel']);
              @$kenmerktype = addslashes($_POST['kenmerktype']);
              @$kenjenismodel = addslashes($_POST['kenjenismodel']);
              @$kentahunpembuatan = addslashes($_POST['kentahunpembuatan']);
              @$kenkondisimesin = addslashes($_POST['kenkondisimesin']);
              @$kenkondisibody = addslashes($_POST['kenkondisibody']);
              @$kenalamatjalan = addslashes($_POST['kenalamatjalan']);
              @$kenalamatkota = addslashes($_POST['kenalamatkota']);
              @$kenalamatpropinsi = addslashes($_POST['kenalamatpropinsi']);
              @$kenalamatkodepos = addslashes($_POST['kenalamatkodepos']);
              @$kentelpemilikken = addslashes($_POST['kentelpemilikken']);
              @$kenkmperbulan = addslashes($_POST['kenkmperbulan']);
              @$kenkeperluanken = addslashes($_POST['kenkeperluanken']);
              @$kenjalandilalui = addslashes($_POST['kenjalandilalui']);
              @$kenluarkota = addslashes($_POST['kenluarkota']);
              @$kenkotatujuan = addslashes($_POST['kenkotatujuan']);
              // Validation
              if (strlen($agtnamalengkap) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agtktpnomor) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agtktpdikeluarkan) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agtktpberlaku) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agttanggallahir) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agtbulanlahir) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agttahunlahir) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agtalamatjalan) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agtalamatkota) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agtalamatpropinsi) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agttelhp) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agtemail) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agtsimnomor) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($agtsimjenis) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($simdikeluarkan) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($simberlaku) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kerjanamaperusahaan) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($jenisusaha) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kerjaalamatjalan) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kerjaalamatkota) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kerjaalamatpropinsi) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kerjatel) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kenmerktype) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kenjenismodel) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kentahunpembuatan) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kenkondisimesin) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kenkondisibody) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kenkmperbulan) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kenkeperluanken) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              if (strlen($kenjalandilalui) == 0 )
              {
              header("Location: error.htm");
              exit;
              }
              //Sending Email to form owner
              $pfw_header = "From: $agtemail\n"
              . "Reply-To: $agtemail\n";
              $pfw_subject = "Formulir Anggota";
              $pfw_email_to = "neocon2000******.com";
              $pfw_message = "agtnamalengkap: $agtnamalengkap\n"
              ."agtktpnomor: $agtktpnomor\n"
              ."agtktpdikeluarkan: $agtktpdikeluarkan\n"
              ."agtktpberlaku: $agtktpberlaku\n"
              ."agttanggallahir: $agttanggallahir\n"
              ."agtbulanlahir: $agtbulanlahir\n"
              ."agttahunlahir: $agttahunlahir\n"
              ."agtalamatjalan: $agtalamatjalan\n"
              ."agtalamatkota: $agtalamatkota\n"
              ."agtalamatpropinsi: $agtalamatpropinsi\n"
              ."agtalamatkodepos: $agtalamatkodepos\n"
              ."agttelhp: $agttelhp\n"
              ."agtemail: $agtemail\n"
              ."agtsimnomor: $agtsimnomor\n"
              ."agtsimjenis: $agtsimjenis\n"
              ."agtsimdikeluarkan: $agtsimdikeluarkan\n"
              ."agtsimberlaku: $agtsimberlaku\n"
              ."kerjanamaperusahaan: $kerjanamperusahaan\n"
              ."kerjajenisusaha: $kerjajenisusaha\n"
              ."kerjaalamatjalan: $kerjaalamatjalan\n"
              ."kerjaalamatkota: $kerjaalamatkota\n"
              ."kerjaalamatpropinsi: $kerjaalamatpropinsi\n"
              ."kerjaalamatkodepos: $kerjaalamatkodepos\n"
              ."kerjatel: $kerjatel\n"
              ."kenmerktype: $kenmerktype\n"
              ."kenjenismodel: $kenjenismodel\n"
              ."kentahunpembuatan: $kentahunpembuatan\n"
              ."kenkondisimesin: $kenkondisimesin\n"
              ."kenkondisibody: $kenkondisibody\n"
              ."kenalamatjalan: $kenalamatjalan\n"
              ."kenalamatkota: $kenalamatkota\n"
              ."kenalamatpropinsi: $kenalamatpropinsi\n"
              ."kenalamatkodepos: $kenalamatkodepos\n"
              ."kentelpemilikken: $kentelpemilikken\n"
              ."kenkmperbulan: $kenkmperbulan\n"
              ."kenkeperluanken: $kenkeperluanken\n"
              ."kenjalandilalui: $kenjalandilalui\n"
              ."kenluarkota: $kenluarkota\n"
              ."kenkotatujuan: $kenkotatujuan\n"
              *****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
              header("Location: confirmation.htm");
              ?>

              BUT It can't take me to confirmation or error page. Could you please, provide a correct scripts for me, please?

              And beside that, in this form of mine, I also ask for photo to be upload. How can I limit the size and the photos are A MUST in order to complete the form?

              Thousand thanks for your valuable time.

              Regards,
              WS_Blue

              Comment

              • navaldesign
                General & Forum Moderator

                • Oct 2005
                • 12080

                #37
                Re: Is there a tutorial for php script for Form here ?

                There are some errors in your script. Nothing important. Most have to do with missing something simple as ";". But, you have made practically ALL fields required, and you have no code for the upload fields.
                The max size fot the file to be uploaded is set in this, missing code. Ok, i&#236;ll prepare a script for you later.

                I think you should consider becoming Vodahost Client
                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

                • WSBlue
                  Brigadier General

                  • Apr 2006
                  • 1415

                  #38
                  Re: Is there a tutorial for php script for Form here ?

                  Originally posted by navaldesign
                  There are some errors in your script. Nothing important. Most have to do with missing something simple as ";". But, you have made practically ALL fields required, and you have no code for the upload fields.
                  The max size fot the file to be uploaded is set in this, missing code. Ok, iìll prepare a script for you later.

                  I think you should consider becoming Vodahost Client
                  YES. FOR SURE, I WILL.
                  I have couple more of webs I want to do. Thinking of domain names.
                  Must I register several accounts for each different domains?

                  In my http://www.beruang.biz
                  I have two different kinds of Forms. Do I need to create two error and two confirmation page as right now only has one for each?
                  And also, How do I get RIGHT value for the FORM being submitted. Phone number must be in Numbers and not in alphabet. e mail address must be an e mail address, at least contain this sign "@"; not something else. or else it will go to error page. The photo also will be sent to error page it uploaded larger than maximum size.

                  Thank you again for your precious time to prepare me this second scripts. Best Regards,
                  WS_Blue

                  Comment

                  • navaldesign
                    General & Forum Moderator

                    • Oct 2005
                    • 12080

                    #39
                    Re: Is there a tutorial for php script for Form here ?

                    All of these error types can be checked by the script i will prepare for you.

                    You can purchase as many accounts as you want. Also, if all of the sites that you will add are yours, you can only purchase one account, and host them in the same account. Unlesss you are going to use many databases like forums, galleries, blogs etc. for all of them, in which case you could have bandwidth and server resources problems. in that case it is advisable that you get separate accounts for each domain.
                    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

                    • WSBlue
                      Brigadier General

                      • Apr 2006
                      • 1415

                      #40
                      Re: Is there a tutorial for php script for Form here ?

                      Originally posted by navaldesign
                      All of these error types can be checked by the script i will prepare for you.

                      You can purchase as many accounts as you want. Also, if all of the sites that you will add are yours, you can only purchase one account, and host them in the same account. Unlesss you are going to use many databases like forums, galleries, blogs etc. for all of them, in which case you could have bandwidth and server resources problems. in that case it is advisable that you get separate accounts for each domain.
                      Hi! Major Naval,
                      I can't have only one account for several different domain, Can I ?
                      Different domain names must have seperate different account, Right?
                      and I can't use same domain name because all of the business are not related to one another. Please advise. Thank you. Regards, WS_Blue
                      Sorry! What is Meta Tags for?

                      Comment

                      • navaldesign
                        General & Forum Moderator

                        • Oct 2005
                        • 12080

                        #41
                        Re: Is there a tutorial for php script for Form here ?

                        If the domains are yours, which means that you reasult as the Technical AND Amministrative responsible, you can have more domains in the same account. One is the main domain, the others are addon domains, by all means independent from the main.

                        Meta tags: For page title, description, keywords, author, generator, etc.
                        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

                        • WSBlue
                          Brigadier General

                          • Apr 2006
                          • 1415

                          #42
                          Re: Is there a tutorial for php script for Form here ?

                          Originally posted by navaldesign
                          If the domains are yours, which means that you reasult as the Technical AND Amministrative responsible, you can have more domains in the same account. One is the main domain, the others are addon domains, by all means independent from the main.

                          Meta tags: For page title, description, keywords, author, generator, etc.
                          Hi! Major General,
                          Understood. Thank you.
                          When can I have the second script which you want to provide as I am still waiting for it.
                          Really appreaciate all your valuable time provided.
                          Good day.
                          WS_Blue

                          Comment

                          • WSBlue
                            Brigadier General

                            • Apr 2006
                            • 1415

                            #43
                            Re: Is there a tutorial for php script for Form here ?

                            Originally posted by WSBlue
                            Hi! Major General,
                            Understood. Thank you.
                            When can I have the second script which you want to provide as I am still waiting for it.
                            Really appreaciate all your valuable time provided.
                            Good day.
                            WS_Blue
                            Hi! Naval Major General,Where have you been? Didn't see you around?I am still waiting for your help to correct my second scripts.
                            Site will be available soon. Thank you for your patience!

                            Take care, Man.WS_Blue

                            Comment

                            • WSBlue
                              Brigadier General

                              • Apr 2006
                              • 1415

                              #44
                              Re: Is there a tutorial for php script for Form here ?

                              Originally posted by WSBlue
                              Hi! Major General,
                              Understood. Thank you.
                              When can I have the second script which you want to provide as I am still waiting for it.
                              Really appreaciate all your valuable time provided.
                              Good day.
                              WS_Blue
                              Hi! Naval Major General,Where have you been? Didn't see you around?I am still waiting for your help to correct for my second scripts. Take care, Man.WS_Blue

                              Comment

                              • navaldesign
                                General & Forum Moderator

                                • Oct 2005
                                • 12080

                                #45
                                Re: Is there a tutorial for php script for Form here ?

                                I know, just had lots to do and your script is QUITE complicated. I'll play with it tomorrow morning. Sorry.
                                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

                                Working...
                                X