<?php
if($_GET***91;'foo'***93; == '</test>'){
exit();
}
?>
然而,当我执行get请求时,我在apache日志中看到了这一点:
[Sun Feb 06 16:47:51 2011] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected '*' in /var/www/test.php on line 2
任何想法??? thnx提前
答案 0 :(得分:1)
试试这个:
<?php
if($_GET['foo'] == '</test>') {
exit();
}
?>