复制代码 代码如下: start: if($count echo "Put Password: "; $handle = fopen ("$line = fgets($handle); if(trim($line) != '123456'){ $count--; if(!$count) goto error; goto start; } goto success; error: echo "Please try after 1 hour!"; goto out; success: echo "Logined!"; out: ?> 执行结果: http://www.bkjia.com/www.bkjia.comtruehttp://www.bkjia.com/TechArticle复制代码 代码如下: ? 09-07 21:54