解释不清,直接上例子
代码如下:
PHP
代码如下:
PHP
$raw_post_data = file_get_contents('PHP://input','r');
echo "-------\$_POST------------------
";
echo var_dump($_POST) . "
";
echo "-------PHP://input-------------
";
echo $raw_post_data . "
";
?>
$raw_post_data = file_get_contents('PHP://input','r');
echo "-------\$_POST------------------
";
echo var_dump($_POST) . "
";
echo "-------PHP://input-------------
";
echo $raw_post_data . "
";
?>