$ret=file_get_contents($url);" />

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

内容摘要
使用函数: file_get_contents($url);
传入接口url及其参数:如
$url="http://192.168.1.1/test.jsp?id=1&type=2";
$ret=file_get_contents($url);
文章正文

使用函数:  file_get_contents($url);

传入接口url及其参数:如

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

$ret=file_get_contents($url);


代码注释

作者:喵哥笔记

IDC笔记

学的不仅是技术,更是梦想!