代码:
public function index(){ $path='G:/相片/2014.9.8深圳莲花山/IMG_1282.JPG'; $path=iconv('utf-8','gb2312',$path);//转码,使汉子路径能解析 copy($path,'d:/a.jpg'); }
代码:
public function index(){ $path='G:/相片/2014.9.8深圳莲花山/IMG_1282.JPG'; $path=iconv('utf-8','gb2312',$path);//转码,使汉子路径能解析 copy($path,'d:/a.jpg'); }
转载于:https://www.cnblogs.com/hltswd/p/5079382.html