就是一个输入流, 可以获得POST的原始数据.
echo file_get_contents("php://input");
//示例代码
//test.html
test php://input test php://input //input.php
test php://iput web /n"; echofile_get_contents("php://input"); ?>
test php://iput web /n"; echo file_get_contents("php://input"); ?>
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn