Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 29, 2005, 9:43 pm
rate this thread
html and php (2 months), I'll as it anyway.
I have been using POST as the action and to get values that were input. I
understand that GET could also be used as the action (not just to get stuff
after the "?" which I understand).
a. When should GEt be used and when should POST be used?
b. What is the difference between the two?
Re: GET and POST
The choice between the two rests on the test of 'idempotency',
in an ideal world. Our world isn't ideal, however, and there
are other things to ask yourself. How much weight you attach
to each consideration depends on the scenario. A good
description of some things to take into account is
With respect to the methods themselves, the HTTP draft answers
that. How they relate to HTML forms is covered in the HTML
spec. Tim and Andy gave the links.