Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- This function checks if a user can login and return true or false
- */
- function canILogin( $pUsername, $pPassword) {
- if($pUsername == "ruben" && $pPassword == "netflix") {
- return true;
- } else {
- return false;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement