$_POST and php tutorial://input can get the value, $HTTP_RAW_POST_DATA is empty
$_POST organizes the submitted data in an associative array, and encodes it, such as urldecode, and even encoding conversion
php://input can also implement this function to obtain the original data of POST.
Code
echo file_get_contents( "php://input ");
Instance
post.php
echo file_get_contents("php://input");?> ;
php://input allows reading the raw data of POST. It puts less pressure on memory than $HTTP_RAW_POST_DATA and does not require any special php.ini settings. php://input cannot be used with enctype="multipart/form-data".
php $_POST
The $_POST variable is an array containing the variable names and values sent by the HTTP POST method.
The $_POST variable is used to collect values from the form with method="post". Information sent from a form with the POST method is invisible to anyone (it does not appear in the browser's address bar), and there is no limit on the amount of information sent.
html
welcome.php
Welcome .
You are years old!
Variables sent via HTTP POST will not appear in the URL.
No length limit for variables