web-为什么将网页变成字符串再echo出来,其php代码就失效了

WBOY
Release: 2016-06-02 11:28:54
Original
922 people have browsed it

phpweb

普通的后缀为.php的文档其中能运行php语句
而我用file__get__contents()函数将其转化为字符串,再用echo输出来
里面的php语句就无法被解析了
如:
$web__file = file__get__contents("demo__web.php");
echo $web__file_

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!