$num=$_GET['num']; if(!is_numeric($num)) { echo $num; if($num==1) echo 'flag{**********}'; } 很简单,弱类型嘛,num=1xxxx就可以了