Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function inicioSesionController(){
- if (isset($_POST['usuarioIngreso'])) {
- if ($_POST['usuarioIngreso'] == 'admin') {
- header('location=ok');
- session_start();
- $_SESSION['user']= true;
- }
- }
- }
Add Comment
Please, Sign In to add comment