如何从Android应用程序读取json数据到php web服务 [英] how to read json data from android app to php web service

查看:96
本文介绍了如何从Android应用程序读取json数据到php web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



当我正在阅读来自android post json数据的数据

使用file_get_contents('php // input');

它显示如下错误:

file_get_contents(php //输入):无法打开流

所以我必须做什么

hi
while i am reading to try data from android post json data
by using file_get_contents('php//input');
it shows error like:
file_get_contents(php//input): failed to open stream
so what i have to do

推荐答案

file_get_contents(php://input);



是的,它的工作是为了帮助我


这篇关于如何从Android应用程序读取json数据到php web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆