解决PHP在IE中下载文件,中文文件名乱码问题
摘要:
if( stripos($_SERVER['HTTP_USER_AGENT'], 'MSIE')!==false ) $filename = urlencode( $filename );// 输入文件标签Header("Content-Type: application/vnd.android.package-archive");Header("Accept-Ranges: bytes");Header("Accept-Length: ".filesize($file_path));Header(&q 阅读全文
posted @ 2013-12-19 15:56 冯亮 阅读(493) 评论(0) 推荐(0) 编辑