#20509 [NEW]: $_SERVER['HTTP_RAW_POST_DATA'] not equivalent to $HTTP_RAW_POST_DATA
| From: | phpcoder at chaska dot org | Date: | Wed, 20 Nov 2002 00:06:46 +0000 |
| Subject: | #20509 [NEW]: $_SERVER['HTTP_RAW_POST_DATA'] not equivalent to $HTTP_RAW_POST_DATA | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25304@lists.php.net to get a copy of this message | ||
From: phpcoder@chaska.org
Operating system: FreeBSD 4.6.2
PHP version: 4.2.2
PHP Bug Type: Variables related
Bug description: $_SERVER['HTTP_RAW_POST_DATA'] not equivalent to $HTTP_RAW_POST_DATA
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 bug report at http://bugs.php.net/?id=20509&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20509&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20509&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20509&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20509&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20509&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20509&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20509&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20509&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20509&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20509&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20509&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20509&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20509&r=isapi