Page 1 of 1
GET and POST methods, which is better?
Posted: Fri Apr 25, 2003 3:25 pm
by nigma
If anyone has experience with both could you tell my why you prefer one or the other?
Thanks a bunch.
Posted: Fri Apr 25, 2003 8:49 pm
by patrikG
That depends very much how your server is configured and what your intentions are. GET posts in the location-bar - so it could easily be modified - while POST does that "silently".
There are viable uses for both, although I personally prefer POST as I am all for keeping the location-bar clean

Posted: Fri Apr 25, 2003 8:51 pm
by nigma
Thanks a bunch, I definetely apreciate the help.
Posted: Sat Apr 26, 2003 5:06 am
by twigletmac
There's a limit to what you can send by GET as well which can make POST the only choice sometimes. Although I'll often use the two together by using the POST method in the form and attaching some variables to the query string of the action page.
Code: Select all
<form method="post" action"page.php?foo=bar">
Mac
Posted: Sat Apr 26, 2003 7:09 am
by []InTeR[]
If you upload files (binary), then your limmited to post asswel.