Home > Backend Development > PHP Tutorial > php下传文件名乱码

php下传文件名乱码

WBOY
Release: 2016-06-13 13:05:26
Original
899 people have browsed it

php上传文件名乱码

只须将上传的文件名转码

?

$fileName = iconv('utf-8','gb2312',$file['name']);

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template