我编写了以下代码
<?php
if ($id = mysql_real_escape_string(@$_GET['pid'])
&& $uid = mysql_real_escape_string(@$_GET['file']))
echo include "foo.php";
else
echo include "bar.php";
?>
当我将 include 函数与旨在输出到页面的函数(例如,或 echo include 'foo.php')结合使用时,它会返回包含内容,但在已包含的内容后面带有“1”。
echo include "foo.php"
应该
include 'foo.php';
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)