摘要:
public function getContent($url, $method = 'GET', $postData = array()) { $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.1.2) Gecko/20120829 Firefox/3.5.2 GTB5'); curl_setopt... 阅读全文
摘要:
修改网站里dede/inc/inc_archives_functions.php文件查找到:复制代码//获取一个远程图片function GetRemoteImage($url,$uid=0)这个函数里面有一句:复制代码@WaterImg($rndtrueName, 'down');修改成:复制代码//@WaterImg($rndtrueName, 'down');再查找:复制代码//获得文章body里的外部资源function GetCurContent($body){global $cfg_multi_site,$cfg_basehost,$cfg_base 阅读全文