温馨提示: 1. 此代码样例同时支持访问http和https网页 2. curl不是php原生库,需要安装才能使用: Ubuntu/Debian系统:apt-get install php5-curl CentOS系统:yum install php-curl 3. 代理样例的代理IP均为虚构,请通过ipip9的API提取链接获取代理IP后添加使用
参考