用PHP include()函数,出现Chrome浏览器错位? 请教解决....
PHP code
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
--><?php include("header.php");
?>
想通过include() 统一调用头部,我的文件编码是UTF-8,保存格式是utv-8 + BOM
当头部文件写在页面上时,一切正常。
当头部文件使用include()函数,在chrome出现如下效果,请问解决方案和问题所在?
------解决方案--------------------
去掉 BOM
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