PHP接收post来的json数据并解析 php json 2018-10-01 19:26 阅读 1056 PHP接收post来的json数据并解析 关注 | 0 0 评论 智慧编程 0 名望 加载中... 提交评论 默认排序 时间排序 1个回答 答案对人有帮助,有参考价值 0 答案没帮助,是错误的答案,答非所问 采纳 $json_string = $_POST["json"]; if(ini_get("magic_quotes_gpc")=="1") { $json_string=stripslashes($json_string); } $user = json_decode($json_string,true); 2018-11-01 21:35 回答 0 评论 智慧编程 0 名望 加载中... 提交评论 撰写答案 验证码 [舍弃] 提交回答
答案对人有帮助,有参考价值 0 答案没帮助,是错误的答案,答非所问 采纳 $json_string = $_POST["json"]; if(ini_get("magic_quotes_gpc")=="1") { $json_string=stripslashes($json_string); } $user = json_decode($json_string,true); 2018-11-01 21:35 回答 0 评论 智慧编程 0 名望 加载中... 提交评论