解释file_get_contents('php:// input')

Ham*_*FzM 7 php android

我正在编写一个Android应用程序来连接到PHP Web服务,并通过我在互联网上的搜索我面对file_get_contents('php://input');,我理解它的一些功能,但我仍然没有得到它.什么是php://inputphp://stdin类似的东西?我已经阅读了http://php.net/manual/en/function.file-get-contents.php,我更加困惑.

请完整解释.

Jer*_*her 16

信息来自:http://www.php.net/manual/en/wrappers.php.php

当信息通过POST请求发送到服务器时,它将保存在临时文件中.

该命令file_get_contents('php://input')读取发送给PHP的原始信息 - 在它被放入$_POST$_REQUEST超级全局之前未经处理.

当有人上传文件(例如图像)时,通常会使用此技术.

编辑:删除 $_GET