Re: Question regarding GET and POST
From: Rob (reply__at_news_group.please)
Date: 04/23/04
- Next message: Ejay Hire: "PHP, IIS 6, and Windows 2003"
- Previous message: Robert PADOVANO: "Establish a connection telnet in PHP on a UNIX server"
- In reply to: stuie...: "Question regarding GET and POST"
- Next in thread: John Dunlop: "Re: Question regarding GET and POST"
- Reply: John Dunlop: "Re: Question regarding GET and POST"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Ejay Hire: "PHP, IIS 6, and Windows 2003"
- Previous message: Robert PADOVANO: "Establish a connection telnet in PHP on a UNIX server"
- In reply to: stuie...: "Question regarding GET and POST"
- Next in thread: John Dunlop: "Re: Question regarding GET and POST"
- Reply: John Dunlop: "Re: Question regarding GET and POST"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|