php中的 file_get_contents(‘php://input’)用法
php中的 file_get_contents('php://input')用法:
file_get_contents 获取php页面中input内容的值;
eg:
php: 页面提交了username password (123)
那么接收之后:username=123&password=123
与POST的区别:post是数组键值对的方式。
你要保守你心,胜过保守一切。
本文来自博客园,作者:刘俊涛的博客,转载请注明原文链接:https://www.cnblogs.com/lovebing/p/6855380.html