Web Hosting Talk







View Full Version : What is the difference between GET and POST ?


Roy@ENHOST
06-24-2002, 02:00 AM
Hi guys,

I have been using POST for whatever form I have done for my whole life when suddenly this question came to my mind:
"what is the difference in POST method and GET method when submitting forms?"
I was told that POST is more secured though, cause the variables doesnt get shown in the URL. Other than this is there any other differences?

chuckt101
06-24-2002, 08:46 AM
What are the differences between GET and POST?
Dec 27th, 2000 04:20

Philip Olson, Nathan Wallace, Fiona Czuczman


GET : Data sent through variables as part of the URL

index.php?name=sam&id=33

POST : Data Sent as a separate HTTP header. Not seen in URL.

If you use GET, info is logged by the server (apache). For example, if
you submitted password in cleartext, we can see it. POST request data
is not usually logged.

There used to be a limit on the length of GET requests. Now it's
technically "unlimited" by spec, but individual servers are allowed to
impose a limit no lower than the old limit.

Ditto for POST, only POST was a higher old limit.

Still can't rely on the Browser, intermediary servers, and your server
to all transmit anything over the old limit (4K?) for POST.
http://www.faqts.com/knowledge_base/view.phtml/aid/638

Roy@ENHOST
06-24-2002, 02:46 PM
Thanks a zillion!
Its a great help!