Discuz dfsockopen 函数 远程文件打开兼容函数
/** * 远程文件文件请求兼容函数 */function dfsockopen($url, $limit = 0, $post = '', $cookie = '', $bysocket = FALSE, $ip = '', $timeout = 15, $block = TRUE) { require_once libfile('function/filesock'); return _dfsockopen($url, $limit, $post, $cookie, $bysocket, $ip, $timeout, $block);} 参数说明$url -> 请求地址
$limit = 0 -> 返回字符数限制
$post = "" -> 请求参数
页:
[1]