針對redirect()函數的提示信息會出現亂碼的問題,能夠在ThinkPHP/Common/functions.php找到redirect函數,把header("Content-type:text/html;charset=utf-8");加到函數內便可解決php