PHP_api接口教程(12)

发布时间:2021-06-06

* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA

You may contact the author of Snoopy by e-mail at: monte@

Or, write to: Monte Ohrt CTO, ispi

237 S. 70th suite 220 Lincoln, NE 68510

The latest version of Snoopy can be obtained from: /

*************************************************/ class Snoopy {

/**** Public variables ****/ /* user definable vars */

var $host var $port var $proxy_host var $proxy_port var $proxy_user var $proxy_pass var $agent var $referer var $cookies var $rawheaders var $maxredirs var $offsiteok var $maxframes var $expandlinks =

= = =

02111-1307 USA

= 80; = = = = = "";

""; ""; ""; ""; "";

// host name we are connecting to // port we are connecting to

// proxy host to use // proxy port to use // proxy user to use // proxy password to use // referer info to pass

"Snoopy v1.2.3"; // agent we masquerade as

// array of cookies to pass

// array of raw headers

array(); = = = =

array();

// $cookies["username"]="joe";

// $rawheaders["Content-type"]="text/html";

5; // http redirection depth maximum. 0 = disallow ""; true; 0;

// contains address of last redirected address

// allows redirection off-site

// frame content depth maximum. 0 = disallow

// expand links to fully qualified URLs.

// this only applies to fetchlinks() // submitlinks(), and submittext()

var $lastredirectaddr =

true;

PHP_api接口教程(12).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219