hello in my ubuntu machine with my brand new apache2 server (mod php) a have this test.php
<?php
if($_GET***91;'foo'***93; == '</test>')开发者_运维问答{
exit();
}
?>
however when i do a get request then i saw this in the apache logs :
[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
any ideas??? thnx in advance
Try this:
<?php
if($_GET['foo'] == '</test>') {
exit();
}
?>
精彩评论