PHP_api接口教程(13)

发布时间:2021-06-06

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文档下载到电脑

精彩图片

热门精选

大家正在看

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

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

支付方式:

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

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