Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 60353 invoked from network); 19 May 2009 13:55:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 May 2009 13:55:23 -0000 Received: (qmail 18149 invoked by uid 500); 19 May 2009 13:55:20 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 18124 invoked by uid 500); 19 May 2009 13:55:20 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 18108 invoked by uid 99); 19 May 2009 13:55:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 13:55:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 13:55:07 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 5571622609C for ; Tue, 19 May 2009 15:52:06 +0200 (CEST) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zBHB02OoVF71 for ; Tue, 19 May 2009 15:52:06 +0200 (CEST) Received: from [192.168.245.129] (montserrat.wissensbank.com [212.85.37.175]) by tor.combios.es (Postfix) with ESMTPA id 1F18D22609B for ; Tue, 19 May 2009 15:52:06 +0200 (CEST) Message-ID: <4A12BA19.4050502@ice-sa.com> Date: Tue, 19 May 2009 15:54:33 +0200 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: aw@ice-sa.com User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: users@httpd.apache.org References: <6fbcd0710905182258t364ed27cm7fdd971793bf4e00@mail.gmail.com> In-Reply-To: <6fbcd0710905182258t364ed27cm7fdd971793bf4e00@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] $_POST equivalent env variable in apache Evuraan wrote: > Greetings..! > > Question:much like $_POST in php, used to collect values from a form > sent with method="POST", is there a variable (like $QUERY_STRING in > case of a GET) to grab data from a POST request? > > I am trying to avoid having a php snippet to read form data. Like > $QUERY_STRING in case of a GET, is there a variable for POST DATA.? > Short answer : no. Apache does not set up an environment value with the content of a POST. But in fact the question does not make much sense. In the case of a POST, the data may include, for instance, the whole content of a 30 MB uploaded file. There must exist some method in PHP to obtain this data, but that is a question best asked on a PHP forum. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org