php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20509 $_SERVER['HTTP_RAW_POST_DATA'] not equivalent to $HTTP_RAW_POST_DATA
Submitted: 2002-11-19 18:06 UTC Modified: 2002-11-19 18:44 UTC
From: phpcoder at chaska dot org Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.2.2 OS: FreeBSD 4.6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: phpcoder at chaska dot org
New email:
PHP Version: OS:

 

 [2002-11-19 18:06 UTC] phpcoder at chaska dot org
Environment:
Apache 1.3.26 on FreeBSD 4.6.2 with mod_php 4.2.2
register_globals is off and always_populate_raw_post_data is defaulted to off (phpinfo() says "0").

I'm trying to use nuSOAP (http://sourceforge.net/projects/nusoap/).  The final line of a server is typically something like:
$server->service($_SERVER['HTTP_RAW_POST_DATA']);

Only thing is, it doesn't work.  It *does* work if one states it this way:
$server->service($HTTP_RAW_POST_DATA);

Shouldn't the super-global be exactly the same as the environment variable?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-19 18:44 UTC] philip@php.net
This variable does not live in $_SERVER or any superglobal for that matter.  It's its own variable.  

The documentation is being worked out as there is still a question on when this variable should exist.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 15:01:56 2024 UTC