Re: why use $_POST when you have $_SESSION?



Tony Marston wrote:
"Paul Lautman" <paul.lautman@xxxxxxxxxxxxxx> wrote in message news:51v4v1F1k55ftU1@xxxxxxxxxxxxxxxxxxxxx
Tony Marston wrote:

You will always use $_POST when sending
data from the client to the server,
Except when you use $_GET or $_REQUEST

Wrong. $_GET is used to request data FROM the server, while $_POST is used to send data TO the server.


No, Tony. $_GET is used to fetch information from the query string. This can be from several sources - including <form action=get...>. But $_GET is always used on the server, and the data always comes from the browser.

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



Relevant Pages

  • Re: breaking the model
    ... > The forms data then is in the Request object. ... HTTP Request; in this case, the form POST Request from the Page. ... client and server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Resolving record with enumerated type
    ... In a CPU BFM package, ... because data goes in two directions (request from the ... from the server to the client), you'll need some way to orchestrate ...
    (comp.lang.vhdl)
  • Re: NadaNet file server coming soon...
    ... Applesoft BASIC running under ProDOS, in less than 300 lines, ... After each command is completed by the server, ... client the result code, the AUX TYPE, ... forgoes queueing (since one client can't have more than one request ...
    (comp.sys.apple2)
  • Re: Kerberos with Windows Integrated authentication
    ... behaviour if your Web server is in the client broweser's Internet zone. ... referencing it by computer name rather than FQDN), the browser will request ... Obviously, if you want to use Kerberos for authentication, you will either ...
    (microsoft.public.windows.server.security)
  • Re: Performance Issue with Runtime Image
    ... >> the client, closes the connection, then dies. ... request before even accepting the next incoming connection. ... The client program is unaffected so presumably the server is ...
    (comp.lang.smalltalk.dolphin)