Guest User

Untitled

a guest
Nov 22nd, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public function inicioSesionController(){
  2.  
  3.  
  4. if (isset($_POST['usuarioIngreso'])) {
  5.  
  6. if ($_POST['usuarioIngreso'] == 'admin') {
  7. header('location=ok');
  8. session_start();
  9. $_SESSION['user']= true;
  10. }
  11.  
  12. }
  13. }
Add Comment
Please, Sign In to add comment