首页 > Web开发 > 详细

php中调用其他系统http接口的方法说明

时间:2015-12-10 18:25:33      阅读:193      评论:0      收藏:0      [点我收藏+]

使用函数:  file_get_contents($url);

传入接口url及其参数:如

$url="http://192.168.1.1/test.jsp?id=1&type=2";

$ret=file_get_contents($url);

php中调用其他系统http接口的方法说明

原文:http://www.jb51.net/article/47409.htm

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!