@header('Content-Type: text/html; charset=UTF-8');
PHP文件插入header("Content-type: text/html; charset=utf-8");
相当于页面里面的<meta http-equiv="Content-Type" content="text/html; charset=utf-8">;
目的:防止页面出现乱码
PHP-【指令】header
猜你喜欢
转载自blog.csdn.net/yueyekonglong/article/details/103986290
今日推荐
周排行