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

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

WBOY
Release: 2016-06-23 13:51:05
Original
1325 people have browsed it



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


回复讨论(解决方案)

是 BOM 头

是 BOM 头

是那个文件的bom头呢?

只有一个 BOM 头

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

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


只有一个 BOM 头

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

至于是哪个文件的,我就不知道了[/quote
]file_get_contents读取的是整个首页还是http://www.jydnzj.com这个字符串?

只有一个 BOM 头

$url = 'http://www.jydnzj.com';$s = file_get_contents($url);echo bin2hex(substr($s, 0, 20));
Copy after login
Copy after login
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