PHP高手

WBOY
WBOYOriginal
2016-06-13 10:07:14799browse

求助PHP高手






include ("head.php");?>


include ("foot.php");?>




我把这段存为xiazai.php和me.php 为什么输出的时候一个正常 ,另外一个是乱码 。两个方同一个文件夹 
懂的人 可以加我QQ 345984627 我现在等你回复 
谢谢啦

------解决方案--------------------
看下编码问题........
------解决方案--------------------
只能是浏览器和编码的问题了,UTF-8是默认的,如果写成include_once("head.php");可能更好
------解决方案--------------------
把乱码的那个php文件的存储编码改为和这个页面一样!!!
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn