【错误信息】后端获取的post中丢失了ttile,文件名乱码导致iconv()出错,利用mb_detect_encoding()函数检测输入的字符串,返回false;
mb_detect_encoding($movetofile, array("ascii",'utf-8',"gb2312","gbk",'big5'));
【前端代码】
【http请求】
【后端报错】
黄山市民网:https://www.huangshanshimin.com/
【错误信息】后端获取的post中丢失了ttile,文件名乱码导致iconv()出错,利用mb_detect_encoding()函数检测输入的字符串,返回false;
mb_detect_encoding($movetofile, array("ascii",'utf-8',"gb2312","gbk",'big5'));
【前端代码】
【http请求】
【后端报错】