#20509 [Opn->Bgs]: $_SERVER['HTTP_RAW_POST_DATA'] not equivalent to $HTTP_RAW_POST_DATA

From: Date: Wed, 20 Nov 2002 00:44:30 +0000
Subject: #20509 [Opn->Bgs]: $_SERVER['HTTP_RAW_POST_DATA'] not equivalent to $HTTP_RAW_POST_DATA
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25306@lists.php.net to get a copy of this message
ID: 20509 Updated by: philip@php.net Reported By: phpcoder@chaska.org -Status: Open +Status: Bogus Bug Type: Variables related Operating System: FreeBSD 4.6.2 PHP Version: 4.2.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-11-19 18:06:46] phpcoder@chaska.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? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20509&edit=1

« previous php.bugs (#25306) next »