我有作为"http://domain/mycontroller/function/info.json“的POST URL,如何读取"info.json
”,我使用的是file_get_contents("php://input")
,但有没有其他方法来读取JSON
数据或"info.json
“。
发布于 2012-10-29 00:40:01
发布于 2012-10-29 00:43:56
飞快
您可以使用fopen或curl。
飞快
curl>>>fopen>file_get_contents
https://stackoverflow.com/questions/13118208
复制相似问题