dedecms不能下载远程图片和资源方法总结

1,多是由于服务器上禁用了fsockopen() 函数形成的,在用fsockopen()的地方用 stream_socket_client()代替就能够了。 具体修改地方是 /include/dedehttpdown.class.php 第507行 $this->m_fp = @fsockopen($this->m_host, $this->m_port, $errno, $errstr,10);
相关文章
相关标签/搜索