|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-08 06:15 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed May 27 16:00:01 2026 UTC |
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 ?