Hi all. I have a quick question. Im writing a form for a transfer domain script that is used on the other end. And i need to write a form to pass everything over to the next page but i kind of dont know how to do it, should be easy though right? This would be the way it would need to be passed over:

The UID and PW are already set, but i guess i can put them into un visible input fields, and just pass it once i know how to do that. Theres alot of stuff to be passed, and id like to pass it in a specific order (the order of the form?). Could someone save me and please tell me how to get this done? THANKS in advance!

    Please don't bump your post... It is annoying and just plain bad nettiquette. It will get answered.

    Are you asking how to write a form? Basically, to do what you want, you need to make sure the elements are in the order you want them to appear in the URL, and use the GET method in the form tag.

    If you need help beyond that, then google a phrase like "forms tutorial" and you should find the info you need, or feel free to post more details if you need help beyond the basics of creating a form.

      Originally posted by TheDefender
      Please don't bump your post... It is annoying and just plain bad nettiquette. It will get answered.

      Are you asking how to write a form? Basically, to do what you want, you need to make sure the elements are in the order you want them to appear in the URL, and use the GET method in the form tag.

      If you need help beyond that, then google a phrase like "forms tutorial" and you should find the info you need, or feel free to post more details if you need help beyond the basics of creating a form.

      Sorry i didnt mean to offed by bumping it.
      But no i know how to code a form. I need the submission to put the values into the url of the next page.

        EDIT: Actually no... TheDefender was tryin to get you to use initiative, and so you should :p

          Thanks Davy... Diablo3K, a quick search of this forum, or Google would have answered your question. Heck, I answered your question in my first post, and you still didn't get it. No offense, but are you sure you know how to code a form?

            Originally posted by TheDefender
            Please don't bump your post... It is annoying and just plain bad nettiquette. It will get answered.

            Are you asking how to write a form? Basically, to do what you want, you need to make sure the elements are in the order you want them to appear in the URL, and use the GET method in the form tag.

            If you need help beyond that, then google a phrase like "forms tutorial" and you should find the info you need, or feel free to post more details if you need help beyond the basics of creating a form.

            or...try the following code.

            </ASS><FINGER>

              Wow guys you both were so very helpfull.

              BUt im the ass who didnt get it right? What good is this forum if everything on here can be googled anyway... its farse. Just forget it, the easy answer you helpfull vets could have given me was the GET action to pass everything through the URL, rather than POST to pass it through a data block. Thanks for all your friendle help

              </ass><finger>

                Sorry man but imagine our position. There are loads of people asking same question even in this very board. Imagine being asked the same question, and have to give the same answer about 50 times a day. Would piss you off, wouldn't it?

                We both gave you the answer but maybe not in the tone that we should of.

                We understand there are thousands of tutorials out there to describe the methods in forms but we take our 'vet' status (wow I'm a vet now!! 🙂) and it blinds us and makes us ignorant.

                This begs the question to all the other 'vets' and forum 'regs' ... are we maybe a little too harsh on new coders?

                Yes the truth is definately already out there but it's hard to get for some then others.

                We should maybe stop telling the users to go Google or search away for the answers and rather give them a gentle nudge int he right direction at the very least.

                I understand people such as laserlight already do alot of php.net/function url linking for helping them find the answer ... maybe alot more of us should follow this example more often?

                I would also like to see less and less instances where people are automatically sent to hotscripts

                Granted it's a good site but we should teach people to be a little more dependent on thier own code 🙂

                $0.02

                So my apologies to Diablo3k!

                <form method=GET> sends the info in the form to the URL
                <form method=POST> posts the info in the form to the $_POST['foo'] array

                Please don't be afraid to post again in the future. I'll try help as much as I can! In all honesty you're not far behind me in the world of PHP so I'm not really a vet 😉

                  Originally posted by Davy
                  Sorry man but imagine our position. There are loads of people asking same question even in this very board. Imagine being asked the same question, and have to give the same answer about 50 times a day. Would piss you off, wouldn't it?

                  We both gave you the answer but maybe not in the tone that we should of.

                  We understand there are thousands of tutorials out there to describe the methods in forms but we take our 'vet' status (wow I'm a vet now!! 🙂) and it blinds us and makes us ignorant.

                  This begs the question to all the other 'vets' and forum 'regs' ... are we maybe a little too harsh on new coders?

                  Yes the truth is definately already out there but it's hard to get for some then others.

                  We should maybe stop telling the users to go Google or search away for the answers and rather give them a gentle nudge int he right direction at the very least.

                  I understand people such as laserlight already do alot of php.net/function url linking for helping them find the answer ... maybe alot more of us should follow this example more often?

                  I would also like to see less and less instances where people are automatically sent to hotscripts

                  Granted it's a good site but we should teach people to be a little more dependent on thier own code 🙂

                  $0.02


                  So my apologies to Diablo3k!

                  <form method=GET> sends the info in the form to the URL
                  <form method=POST> posts the info in the form to the $_POST['foo'] array

                  Please don't be afraid to post again in the future. I'll try help as much as I can! In all honesty you're not far behind me in the world of PHP so I'm not really a vet 😉

                  Thanks a million man you deffinately made the wrong right. It was a pretty dumb question though so i see it deffinately from your angle. Im finishing up a transfer domain script for a registrar im employed at, and that was my only question?! Rofl it WAS pretty dumb. Thanks again though.

                    Originally posted by Diablo3k
                    Just forget it, the easy answer you helpfull vets could have given me was the GET action to pass everything through the URL, rather than POST to pass it through a data block. Thanks for all your friendle help

                    Look, I am sorry that you missed my FIRST post that you didn't bother to read the whole thing, especially where I (in a verry polite way) told you to use the GET method.

                    Davy, I thought that was what I did (nudge in the right direction, without being mean). Besides, I should have lit up the fire when a newbie came in here, asked an HTML question on a PHP forum, and then bumped their post with absolutely no regard for the regs and their FREE help on these boards.

                    OK, diablo, I am sorry too. Sorry that you don't fully read a post, and ask for clarification with things you don't understand. (Even though you even took the time to quote my original post) I am sorry you took offense when you were asked to obey simple forum guidelines. Sorry you posted a question about an unrelated topic in a forum, and expected a more immediate response. Sorry that your first experience on this forum was not what you wanted (even if it is what you deserved). Sorry your skin is so thin.

                    Now seriously... I definitely didn't agree with the code thing (The <A$$><FINGER> thing) that Davy put up there, but that's just me.

                      Oh, and this is HTML help and not PHP help, but I am going to give it to you anyhow... Davy, this is for you too. When assigning attributes to HTML tags, you should always quote the attribute values (for strict HTML and XHTML standards compliance.)

                      Instead of:
                      <form method=GET>
                      <form method=POST>

                      Do:
                      <form method="GET">
                      <form method="POST">

                      See, we can be nice, and give good help too...

                        Write a Reply...