php乱码解决

代码示例:

<?php
header("Content-type: text/hml; charset=utf-8");
echo "holl 欢迎光临小站,现在正在建设中。。。";
?>

 

在第二行的位置,加上第二行的代码即可解决。

 

posted @ 2014-09-21 11:01  迷茫的搜索者  阅读(124)  评论(0编辑  收藏  举报