Solve the Chinese garbled solution there are many kinds of, one is the URL encoding such as UrlEncode method, the other is the following header processing method with binary method.
$file _name = urlencode ($_request[' filename ');
Header ("Pragma:public"); Header ("expires:0");
Header ("Cache-control:must-revalidate, Post-check=0, pre-check=0");
Header ("Content-type:application/force-download");
Header (' Content-type:application/vnd.ms-excel; Charset=utf-8 ');
Header ("Content-transfer-encoding:binary");
Header (' content-disposition:attachment; filename= '. $file _name);
echo Strips Tutorial Lashes ($_request[' content ');
?>
http://www.bkjia.com/PHPjc/632295.html www.bkjia.com true http://www.bkjia.com/PHPjc/632295.html techarticle solve the Chinese garbled solution there are many kinds of, one is the URL encoding such as UrlEncode method, the other is the following header processing method with binary method. php Tutorial $file _name = Urlencod ...