Advertisement
opexxx

config.php

Oct 17th, 2016
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <?php
  2.  
  3. //array com os usuários do sistema
  4. $usuarios = array(
  5.  
  6. "pikapau" => "pikapau",
  7.  
  8. );
  9.  
  10. //pega o nome de usuário preenchido no formulário de login
  11. $usuarioLogin = $usuario;
  12.  
  13. //de acordo com o usuário, a variavel '$senhaLogin' pega a senha do usuário.
  14. $senhaLogin = $usuarios[$usuarioLogin];
  15.  
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement