Re: GET or POST method?



Hello,

on 01/15/2008 12:19 AM Kurda Yon said the following:
Hi,

I have to decide which form-method I should use (GET or POST). I found
the following recomendation:
If the service associated with the processing of a form has side
effects (for example, modification of a database or subscription to a
service), the method should be POST. (http://www.cs.tut.fi/~jkorpela/
forms/methods.html).

However, later I did not find any convinced arguments why it should
help (it can be that I just did not understand something).

So, I have decided not to go into the details of GET and POST methods
and just use POST. Is here any significant difference between GET and
POST which I should worry about (like security issues or something
else)? Or it is just question of convenience?

I think with GET you are limited to sending with no more than 255
characters. Above that the browser may chop your submission URL.

--

Regards,
Manuel Lemos

PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
.



Relevant Pages

  • Re: PHP Beginner question
    ... This will pass data from the browser to the web server. ... you can make a form look like a link and then you would have POST methods available to you. ... Regardless of whether you use POST or GET from the browser to the server, you will have to use SESSION to send the data to another page. ...
    (comp.lang.php)
  • alternative method
    ... Based on phpsec.org documentation it is written that GET ... and POST methods are still used but they are not the most secured (except if ... Apache 2.0.58 ... PHP 5 ...
    (php.general)
  • Re: GET or POST method?
    ... I have to decide which form-method I should use. ... the following recomendation: ... I have decided not to go into the details of GET and POST methods ... But if you're adding data to a database, you wouldn't want them to add it every time they visit the page so you'd want to use POST. ...
    (comp.lang.php)
  • GET or POST method?
    ... I have to decide which form-method I should use. ... the following recomendation: ... I have decided not to go into the details of GET and POST methods ... POST which I should worry about (like security issues or something ...
    (comp.lang.php)
  • Re: [PHP] PHP editor
    ... I beleive this is in the realm of php (I have learned my lesson from ... Does anyone have recomendation for any free (I.E. ... *you* have to decide if you like an editor, nobody else can do it for you. ...
    (php.general)