解释不清,直接上例子
代码如下:
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 . "
";
?>
原文链接:https://www.f2er.com/php/25910.html