去评论
dz插件网

Discuz dfsockopen 函数 远程文件打开兼容函数

xiao9469
2023/10/25 14:55:30
  1. /** * 远程文件文件请求兼容函数 */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);}