您的位置:首页 > 编程语言 > PHP开发

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

2014-02-28 00:00 686 查看
使用函数: file_get_contents($url);

传入接口url及其参数:如

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

$ret=file_get_contents($url);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: