php两种上传文件进度条显示方案
作者:互联网
php代码======================================================================
<?php
$resultData['status']='error';
$resultData['msg']='';
//设置上传目录
$curr_upload_dir='test/'.date('Ym').'/'.date('d').'/';
$temp_upload_dir=dirname(APPPATH).'/htdocs'.$this->uploadDir.$curr_upload_dir;
if(!is_dir($temp_upload_dir)) mkdir($temp_upload_dir, 0755, true);
//服务器简单记录日志
file_put_contents($temp_upload_dir.'hhhhhhhhhhhhh_11111111.log',"===".date('Y-m-d H:i:s',time())."
标签:curr,temp,进度条,resultData,upload,date,php,上传,dir 来源: https://blog.csdn.net/abiao555/article/details/122750705