php中的 file_get_contents('php://input')用法:
file_get_contents 获取php页面中input内容的值;
eg:
php: 页面提交了username password (123)
那么接收之后:username=123&password=123
与POST的区别:post是数组键值对的方式。
php中的 file_get_contents('php://input')用法:
file_get_contents 获取php页面中input内容的值;
eg:
php: 页面提交了username password (123)
那么接收之后:username=123&password=123
与POST的区别:post是数组键值对的方式。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。