文字

HttpResponse::getRequestBody

(PECL pecl_http >= 0.10.0)

HttpResponse::getRequestBodyGet request body

说明

static string HttpResponse::getRequestBody ( void )

此函数是该函数的别名: http_get_request_body() .

用户评论:

[#1] osborn dot steven at example dot com [2007-08-23 09:03:31]

For those of you without the HTTP extension, try:
<?php
  $body 
= @file_get_contents('php://input'); 
?>

上一篇: 下一篇: