Home > Backend Development > PHP Tutorial > pHp include 和 request的问题!(include文件不执行,直接将php源码输出

pHp include 和 request的问题!(include文件不执行,直接将php源码输出

WBOY
Release: 2016-06-23 14:06:27
Original
1278 people have browsed it

具体情况和 http://bbs.csdn.net/topics/70431888 一样,但没有找到答案!


回复讨论(解决方案)

找到原因了,php文件的里用了小标签, 而php.ini 中没有开启。
short_open_tag = Off
改成
short_open_tag = On
就可以了 

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