ID:               16485
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Unknown/Other Function
 Operating System: FreeBSD4.4
 PHP Version:      4.1.2
 New Comment:

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php




Previous Comments:
------------------------------------------------------------------------

[2002-04-08 04:01:26] [EMAIL PROTECTED]

Hi All !

The problem :
1. On client-side i have next script :

var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
var Response = new ActiveXObject("MSXML2.DOMDocument");
strxml = "SOME XML..."
xmlhttp.open("POST","http://host/script.php",false);
xmlhttp.setRequestHeader("Content-type","text/xml");
xmlhttp.send(strxml);
alert(xmlhttp.ResponseText);

2. When script.php starts the CONTENT_LENGTH is not null,
its value is NNN bytes.

4. Constructions like :

$fp = fopen("php://stdin","r");
$data=fread($fp,$HTTP_SERVER_VARS{'CONTENT_LENGTH'});
fclose($fp);
echo $data;

or

echo $HTTP_RAW_POST_DATA;

don't work. They return null :-(

4. In PHP.INI always_populate_raw_post_data = On

Anybody knows what's happened ?


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16485&edit=1

Reply via email to