#36704 [NEW]: missing HTTP_RAW_POST_DATA variable

From: Date: Sun, 12 Mar 2006 09:46:40 +0000
Subject: #36704 [NEW]: missing HTTP_RAW_POST_DATA variable
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-94211@lists.php.net to get a copy of this message
From:             ifyoumind at yahoo dot com
Operating system: Windows XP
PHP version:      5.1.2
PHP Bug Type:     SOAP related
Bug description:  missing HTTP_RAW_POST_DATA variable

Description:
------------
Hi,

  Am trying to use NUSOAP and it requires HTTP_RAW_POST_DATA variable
set. I have both the register_globals and always_populate_raw_post_data
on but still it gives me an error HTTP_RAW_POST_DATA. I read quiet a lot
of forum where almost in all places the question is clear and the answer
still is murky. It doesn't make any sense when
always_populate_raw_post_data turned on when I echo $HTTP_RAW_POST_DATA
it actually gives me an error!

Reproduce code:
---------------
<?php
print_r($_SERVER);//output doesn't have $HTTP_RAW_POST_DATA
print_r($GLOBALS);//output doesn't have $HTTP_RAW_POST_DATA
echo "$HTTP_RAW_POST_DATA"; //actually results in erro
?>

Expected result:
----------------
$HTTP_RAW_POST_DATA should be available it can't be undefined.

Actual result:
--------------
Notice: Undefined variable: HTTP_RAW_POST_DATA in C:\Program Files\Apache
Group\Apache2\htdocs\nusoap\myfirst.php on line 4

-- 
Edit bug report at http://bugs.php.net/?id=36704&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36704&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36704&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36704&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36704&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=36704&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36704&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36704&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36704&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36704&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36704&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=36704&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=36704&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36704&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36704&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36704&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36704&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36704&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36704&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36704&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36704&r=mysqlcfg


Thread (3 messages)

« previous php.bugs (#94211) next »