虚拟主机域名注册-常见问题 → 网站技巧 → 织梦学院 | |||||||
[转帖]织梦dedeCMS系统无法保存远程图片的解决办法
如果服务器上禁用了fsockopen函数,则无法使用保存远程图片到本地的功能,只需要替换一下函数就可以了。 $this->m_fp = @fsockopen($this->m_host, $this->m_port, $errno, $errstr,10);替换为 复制代码 $this->m_fp = @stream_socket_client($this->m_host . ‘:’ . $this->m_port, $errno, $errstr,10);
|
|||||||
>> 相关文章 | |||||||