Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4.  
  5. /*
  6.  
  7.  
  8. This function checks if a user can login and return true or false
  9.  
  10. */
  11.  
  12. function canILogin( $pUsername, $pPassword) {
  13.  
  14. if($pUsername == "ruben" && $pPassword == "netflix") {
  15. return true;
  16.  
  17. } else {
  18.  
  19. return false;
  20. }
  21.  
  22.  
  23. }
  24. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement