php://input 允许您读取 POST 的原始数据。 和 $HTTP_RAW_POST_DATA 比起来,它给内存带来的压力较小,并且不需要任何特殊的 php.ini 设置。

解决方案 »

  1.   

    php://input  好象在 Win32 下无效一样。
      

  2.   

    PHP 3.0.13 及以上版本,自 PHP 4.3.0 起支持 php://output 和 php://input,自 PHP 5.0.0 起支持 php://filter。
      

  3.   

    php://input在windows上可以用的。
    我自己用过的
      

  4.   

    $xmlString = file_get_contents( "php://input" );
      

  5.   

    好象我打错了,你试试以下几个...俺有点忘记了...嘿嘿~~~
    $HTTP_RAW_POST_DATA
    $HTTP_RAW_POST
      

  6.   

    不好意思,没看清楚cloudchen已经说了...
      

  7.   

    谢谢大家,用$xmlString = file_get_contents( "php://input" );可以得到,其它$HTTP_RAW_POST
    可能象cloudchen(cloudchen) ( ) 说的,需要php.ini的某些配置。太感谢了!!