Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2017
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <?php
  2. // Only edit this
  3. $user = "";
  4. $pass = "";
  5.  
  6. // Dont edit this part
  7. $admin_id = 3735928559;
  8. $secretpassword = "something_you_dont_know_and_is_very_long";
  9.  
  10. echo "Chech 1 :" . strspn($user, "123456789") . "\n";
  11.  
  12. if (!strspn($user, "123456789")){
  13. echo "Chech 2 :" . (($user == $admin_id) ? "true" : "false") . "\n";
  14. echo "Chech 3 :" . (( $pass == $secretpassword) ? "true" : "false") . "\n";
  15.  
  16. if ($user == $admin_id && $pass == $secretpassword){
  17. $msg = 'You are admin' . '<br>';
  18. $msg.=$flag;
  19. }
  20. else {
  21. $msg= 'Try harder, you can do it.';
  22. }
  23. }
  24. else {
  25. $msg= 'Don\'t give up so quickly.';
  26. }
  27.  
  28. echo $msg;
  29. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement