Re: Question regarding GET and POST

From: Rob (reply__at_news_group.please)
Date: 04/23/04


Date: Fri, 23 Apr 2004 15:42:30 GMT


"stuie..." <aenewman@anonymous.to> schreef in bericht
news:i1bi809savgun37s1uvaku6qalharacuu6@4ax.com...
> First off, I'm a newbie to PHP and server side scripting.
>
> I'm curious if there are any specific guidelines as to when one should use
"GET"
> or "POST" in forms processing. I've had issues moreso with post than get
but
> have been able to resolve them relatively quickly.
>
> Anyone?
>
>
> -----------
> "The day microsoft makes something that doesn't suck
> is the day they start selling vacuum cleaners."
>
> Anon. 1999

Hy stuie...,

General speaking when using GET users will see the query string in the
browser. It is also possible to change these in the browser address bar. For
instance somebody can type http://www.domain.com/delete.php?id=1 and
something where id has a value of 1 will be deleted. So the GET is less
secure.
The size of the query string in the GET method is limited (I believe it is
limited to 2000 chars, not sure about that though ) POST on the other hand
has no limits besides the one set by the providers.

Look for a more complete discussion about when to use GET or POST on

http://www.w3.org/2001/tag/doc/whenToUseGet.html

HTH
Rob



Relevant Pages

  • Re: Question regarding GET and POST
    ... I'm a newbie to PHP and server side scripting. ... > I'm curious if there are any specific guidelines as to when one should use ... It is also possible to change these in the browser address bar. ... The size of the query string in the GET method is limited (I believe it is ...
    (alt.php)
  • Re: AJAX.NET and prototype.js
    ... Javascript is an ideal language for client-side scripting ... (particularly browser scripting) ...
    (comp.lang.javascript)
  • Re: JS Guru needed! Why doesnt this work?
    ... > (in case if the scripting is disabled). ... accommodating javascript incapable/disabled browsers. ... and then client-side scripting can transform it ... > own browser etc. etc. ...
    (comp.lang.javascript)
  • Re: Help Jquery: unable to register a ready function
    ... design decision. ... decision on his customer base, collected browser statistics, and the ... The last thing that adding a browser sniffing script like jQuery to ... scripting libraries are a bad idea. ...
    (comp.lang.javascript)
  • Re: VMS website updated.
    ... > internet users, but I had not fully appreciated just how much a few vocal ... I might run some up-to-date browser on my VMS systems if I ... I rarely use NS or IE because it is so difficult to turn scripting ... alienate some fraction of your customers who will go elsewhere rather than ...
    (comp.os.vms)