hello
i am a beginner of web programming
and i got confused about post and get method,
though i have refer to books. and i dont quite understand
the attribute action in form element too.
who can give me some help
thanks
that's haded through the url, and is considered having a querystring, this is how form method=get acts, which is useful because then you can bind the output that this generates through search engines, bookmarks, whatever.
post, is more secure(ish) it posts the data directly to the receiving page, acts like querystring, but can handle much more input(s), keeps the data out of the address bar, so it locks out the ability to bookmark, store/reference so search engines/spiders cant "re-create" the output as easily.
querystring / get is typically used mostly for navigation, and handling.
post is typically used for data submission ( like user info forms etc ) where there mightbe more data than is allowable (256 chars ) in the address line, or where the data is not intended to be reproduced at a whim.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.