php访问其他网站接口
2022-04-19 15:45:141121
使用函数: file_get_contents($url);
传入接口url及其参数:如
$url="http://192.168.1.1/test.jsp?id=1&type=2";
$ret=file_get_contents($url);
路漫漫其修远兮,吾将上下而求索。
2022-04-19 15:45:141121
使用函数: file_get_contents($url);
传入接口url及其参数:如
$url="http://192.168.1.1/test.jsp?id=1&type=2";
$ret=file_get_contents($url);