手机版

PHP_api接口教程(13)

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

var $passcookies = true; // pass set cookies back through redirects

// NOTE: this currently does not respect // dates, domains or paths.

var $user var $pass // http accept types var $accept var $results var $error var $headers var $maxlength var $read_timeout seconds

=

= = = ""; = = = =

""; "";

// user for http authentication // password for http authentication

"image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*";

// where the content is put

""; ""; array(); 500000; 0;

// error messages sent here

// response code returned from server // headers returned from server sent here

// max return data length (body) // timeout on read operations, in // supported only since PHP 4 Beta 4

// set to 0 to disallow timeouts

var $response_code =

var $timed_out var $status var $temp_dir webserver

= = =

false; 0; "/tmp";

// if a read operation timed out // http request status //

temporary

directory

that

the

// has permission to write to.

// under Windows, this should be C:\temp =

var $curl_path "/usr/local/bin/curl";

// Snoopy will use cURL for fetching // SSL content if a full system path to

// the cURL binary is supplied here. // set to false if you do not have

// cURL installed. See http://curl.haxx.se

// for details on installing cURL. // Snoopy does *not* use the cURL // library functions built into php, // as these functions are not stable // as of this Snoopy release.

/**** Private variables ****/

var $_maxlinelen = var $_httpmethod =

4096; "GET";

// max line length (headers) // default http request method

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