discuz x3.2下主题页因为dtd前面有一行空格和不知名的占位符,导致很多异常

WBOY
Release: 2016-06-13 12:05:02
Original
1239 people have browsed it

discuz x3.2下主题页因为dtd前面有一行空格和不知名的占位符,导致很多错误


网页源代码的dtd前有一行空格和不知名的占位符,导致很多错误。在官方默认模板下主题页也是这样,模板文件在本地测试没什么问题,这是逻辑代码问题还是其他问题呢?
------解决方案--------------------
只有一个 BOM 头

$url = 'http://www.jydnzj.com';<br />$s = file_get_contents($url);<br />echo bin2hex(substr($s, 0, 20));
Copy after login
efbbbf3c21444f43545950452068746d6c205055

至于是哪个文件的,我就不知道了

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!