Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Only edit this
- $user = "";
- $pass = "";
- // Dont edit this part
- $admin_id = 3735928559;
- $secretpassword = "something_you_dont_know_and_is_very_long";
- echo "Chech 1 :" . strspn($user, "123456789") . "\n";
- if (!strspn($user, "123456789")){
- echo "Chech 2 :" . (($user == $admin_id) ? "true" : "false") . "\n";
- echo "Chech 3 :" . (( $pass == $secretpassword) ? "true" : "false") . "\n";
- if ($user == $admin_id && $pass == $secretpassword){
- $msg = 'You are admin' . '<br>';
- $msg.=$flag;
- }
- else {
- $msg= 'Try harder, you can do it.';
- }
- }
- else {
- $msg= 'Don\'t give up so quickly.';
- }
- echo $msg;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement