改为
if(move_uploaded_file($pic['tmp_name'], iconv("UTF-8","GBK",$upload_dir.$pic['name'])))
先确定php文件的编码格式是不是UTF-8的,比如在头部加:header('Content-Type: multipart/form-datacharset=utf-8')欢迎分享,转载请注明来源:内存溢出
改为
if(move_uploaded_file($pic['tmp_name'], iconv("UTF-8","GBK",$upload_dir.$pic['name'])))
先确定php文件的编码格式是不是UTF-8的,比如在头部加:header('Content-Type: multipart/form-datacharset=utf-8')欢迎分享,转载请注明来源:内存溢出
评论列表(0条)