手机版

PHP_api接口教程(12)

时间:2025-07-01   来源:未知    
字号:

* 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文档下载到电脑,方便复制、编辑、收藏和打印
×
二维码
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)