php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24741 HTTP_RAW_POST_DATA is only available in global scape
Submitted: 2003-07-21 15:14 UTC Modified: 2003-07-22 03:09 UTC
From: slasherx at leaseyourmind dot com Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.3.2 OS: Freebsd 4.8 STABLE
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: slasherx at leaseyourmind dot com
New email:
PHP Version: OS:

 

 [2003-07-21 15:14 UTC] slasherx at leaseyourmind dot com
Description:
------------
While expecting raw post data, it is received, but the data is nowhere in the $_SERVER suplerglobal nor any other, but the global scope accessible only though $HTTP_RAW_POST_DATA and the only other superglobal $GLOBALS['HTTP_RAW_POST_DATA']. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-21 16:50 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

This is a documented and expected behaviour.
 [2003-07-22 03:01 UTC] sniper@php.net
Not bug -> bogus.

 [2003-07-22 03:09 UTC] slasherx at leaseyourmind dot com
the thing that gets me is that i didn't find any related notes on this so called "feature" in the manual, and derick agreed as well that it wasn't normal to have it in the global scope, especially when php is trying to conform with register_globals disabled.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC