摘要: 1 //GET方式的直接使用 2 /*$file_contents = file_get_contents('http://localhost/Json/API.php?a=get_users&uid=10001&type=json'); 3 echo $file_contents;*/ 4 5 6 //POST方式得用下面的(需要开启PHP curl支持)。 7 $url =... 阅读全文
posted @ 2017-05-25 10:44 深蓝卷墨 阅读(272) 评论(0) 推荐(0)