// +-------------------------------------------------------------------
---
//----------------------------------
//
实时
IP
代理库调用示例代码
-
聚合数据
//
在线接口文档:
http://www.juhe.cn/docs/62
//----------------------------------
header(
'Content-type:text/html;charset=utf-8'
);
//
配置您申请的
appkey
$appkey
=
"*********************"
;
//************1.
获取免费代理
************
$url
=
"http://japi.juheapi.com/japi/fatch"
;
$params
=
array
(
"v"
=>
""
,
//
版本,当前
1.0
"pkg"
=>
""
,
//
包名,没有则留空
"key"
=>
$appkey
,
//
应用
APPKEY(
应用详细页查询
)
);
$paramstring
= http_build_query(
$params
);
$content
= juhecurl(
$url
,
$paramstring
);