php中的 file_get_contents('php://input')用法:

file_get_contents 获取php页面中input内容的值;

 

eg:

    php: 页面提交了username password (123)

    那么接收之后:username=123&password=123

 

与POST的区别:post是数组键值对的方式。

相关文章:

  • 2021-08-21
  • 2021-06-30
  • 2021-11-12
  • 2021-12-22
  • 2022-12-23
猜你喜欢
  • 2022-03-10
  • 2021-06-11
  • 2021-09-29
相关资源
相似解决方案