Login first!
<?php if (isset($_GET['name']) and isset($_GET['password'])) { if ($_GET['name'] == $_GET['password']) echo '
Your password can not be your name!
'; else if (sha1($_GET['name']) === sha1($_GET['password'])) die('Flag: '.$flag); else echo '
Invalid password.
'; } else{ echo '
Login first!
'; ?>