代码如下 复制代码
'http://www.bkjia.com/uploadfile/2013/0905/20130905072615990.jpg',
curlopt_file => $fp,
curlopt_header => 0,
curlopt_followlocation => 1,
curlopt_timeout => 60
);
curl_setopt_array($hander, $options);
*/
curl_exec($hander);
curl_close($hander);
fclose($fp);
return true;
}
?>
http://www.bkjia.com/phpjc/444730.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/444730.htmltecharticle在php中用来操作远程图片的方法有很多,本文章只讲到简单的一个curl就可以实现了,如果各位想深入了解,模仿用户的话可以参考我们网站...