You are here: Re: GET or POST method? « PHP Programming Language « IT news, forums, messages
Re: GET or POST method?

Posted by Jerry Stuckle on 09/30/56 12:00

Kurda Yon wrote:
> 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?
>
>

Another consideration - GET URLs can be bookmarked. POST URLs cannot.
So, for instance, if you're displaying a restaurant from a list, GET
would be good so the user could bookmark it. 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.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация