风暴烈酒辰

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2019年9月3日

摘要: 1 $file = "我是一个路径"; 2 if(empty($file)){ 3 $this->displayJson(Ap_Constants::ERROR_EMPTY); 4 } 5 6 7 $file_name = $file['name']; 8 $size = $file['size']; 9 //中文需要转码 10 $path = iconv('UTF-8', 'GB2312', $ 阅读全文
posted @ 2019-09-03 11:25 风暴烈酒辰 阅读(571) 评论(0) 推荐(0) 编辑