This will be documented as soon as we figure out where
to document it.  Many months ago the predefined variables
section of the manual was redone and the vars are now 
separated autoglobals.

Should this be documented under $GLOBALS or should a
new section be created?  I'm thinking a new section
for "other" variables such as this.  If you can think
of other vars and/or have a better idea please speak up.  
Here's a diff:

RCS file: /repository/phpdoc/en/appendices/reserved.xml,v
retrieving revision 1.26
diff -u -r1.26 reserved.xml
--- en/appendices/reserved.xml  6 Nov 2002 22:36:55 -0000       1.26
+++ en/appendices/reserved.xml  10 Nov 2002 02:27:36 -0000
@@ -933,6 +933,28 @@
      option is turned on (it defaults to off).
     </simpara>
    </sect2>
+
+   <sect2 id="reserved.variables.other">
+    <title>Other predefined PHP variables</title>
+
+     <para>
+      <variablelist>
+       <varlistentry>
+        <term><varname>$HTTP_RAW_POST_DATA</varname></term>
+        <listitem>
+         <simpara>
+          Contains the RAW POST data.  For this variable to exist, 
+          there must be a POST request and either the mime type of 
+          the POST data must be unrecoginized or the PHP directive
+          <link linkend="ini.always-populate-raw-post-data">
+          always_populate_raw_post_data</link> is set to 
+          <emphasis>on</emphasis>.
+         </simpara>
+        </listitem>
+       </varlistentry>
+      </variablelist>
+     </para>
+
+    </sect2>
+



On Sat, 9 Nov 2002, Rasmus Lerdorf wrote:

> Yes, it has to be a POST request for there to be post data and
> $HTTP_RAW_POST_DATA is populated if the mime type of the data is
> unrecoginized or if always_populate_raw_post_data is on.
> 
> On Sat, 9 Nov 2002, Kjartan Mannes wrote:
> 
> > Wednesday, August 28, 2002, 3:15:13 PM, [EMAIL PROTECTED] wrote:
> > > is $HTTP_RAW_POST_DATA only filled if REQUEST_TYPE is set to POST?
> > > even if 'always_populate_raw_post_data = On'? does anyone have a short
> > > info on this? rasmus maybe?
> >
> > I to would like know when $HTTP_RAW_POST_DATA is supposed to be set. I
> > recently upgrade from 4.2.3 to 4.3.0-dev and one of my scripts stopped
> > working as $HTTP_RAW_POST_DATA wasn't set when data was POSTed. To fix
> > this I had to turn always_populate_raw_post_data on. Any documentation
> > on this variable should work?
> >
> > --
> > Kjartan <[EMAIL PROTECTED]> (http://natrak.net/)
> > :: "Scandisk is now checking your hard disk. You can start
> >     praying."
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> 
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to