The explanation is not clear, just give an example
index.html
Copy the code The code is as follows:
action.php
Copy code Code As follows:
$raw_post_data = file_get_contents('php://input', 'r');
echo "------$_POST ------------------
";
echo var_dump($_POST) . "
";
echo " -------php://input-------------
";
echo $raw_post_data . "
";
?>
http://www.bkjia.com/PHPjc/327976.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/327976.htmlTechArticleCan’t explain clearly, just go to the example index.html and copy the code as follows: form action="action.php" method ="post" input type="text" name="userName" id="userName" /br/ input type="text" n...