Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #16889

Re: $_SERVER["REQUEST_METHOD"] == "GET" vs $_SERVER["REQUEST_METHOD"] == "POST"

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: $_SERVER["REQUEST_METHOD"] == "GET" vs $_SERVER["REQUEST_METHOD"] == "POST"
Date 2016-07-30 14:48 +0200
Organization solani.org
Message-ID <nni7n6$l0n$1@solani.org> (permalink)
References <892a3f04-5c3c-4b55-89c7-3b5e1b8bc879@googlegroups.com> <579c9ead$0$922$e4fe514c@news.xs4all.nl>

Show all headers | View raw


On 30.07.2016 at 14:36, R.Wieser wrote:

> #2. Yes, they are.  Data that has been send by the GET method will be stored
> in the $_GET array, and data that has been send by the POST method will be
> stored in the $_POST array.

Small correction: if a POST request contains a query string in the URI,
the $_GET array will be filled with this information.

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

$_SERVER["REQUEST_METHOD"] == "GET" vs $_SERVER["REQUEST_METHOD"] == "POST" Alla <modelling.data@gmail.com> - 2016-07-30 04:47 -0700
  Re: $_SERVER["REQUEST_METHOD"] == "GET" vs $_SERVER["REQUEST_METHOD"] == "POST" "R.Wieser" <address@not.available> - 2016-07-30 14:36 +0200
    Re: $_SERVER["REQUEST_METHOD"] == "GET" vs $_SERVER["REQUEST_METHOD"] == "POST" "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-30 14:48 +0200
      Re: $_SERVER["REQUEST_METHOD"] == "GET" vs $_SERVER["REQUEST_METHOD"]== "POST" "R.Wieser" <address@not.available> - 2016-07-30 15:38 +0200
        Re: $_SERVER["REQUEST_METHOD"] == "GET" vs $_SERVER["REQUEST_METHOD"]== "POST" Alla <modelling.data@gmail.com> - 2016-08-02 00:16 -0700
  Re: $_SERVER["REQUEST_METHOD"] == "GET" vs $_SERVER["REQUEST_METHOD"] == "POST" Jivanmukta <jivanmukta@poczta.onet.pl> - 2016-07-30 19:27 +0200
    Re: $_SERVER["REQUEST_METHOD"] == "GET" vs $_SERVER["REQUEST_METHOD"] == "POST" Jerry Stuckle <jstucklex@attglobal.net> - 2016-07-30 17:18 -0400

csiph-web