Home > Backend Development > PHP Tutorial > 用readfile不能显示,用include却可以

用readfile不能显示,用include却可以

WBOY
Release: 2016-06-13 12:59:16
Original
881 people have browsed it

求助:用readfile不能显示,用include却可以

本帖最后由 buzailiao 于 2012-11-28 16:05:52 编辑 readfile(“1.html”)---不可以显示,什么内容都没有,一片空白。
include("1.html")---可以显示1.html的内容

请问这是什么原因呢?服务器PHP环境配置问题吗?

在本地测试什么都正常。
------解决方案--------------------
没重启将不能生效。
如果你重启了且打开错误提示的话应该会有错误提示的
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