Questions tagged as 'login'

1
answer

Login Levels

How can I make it just show the user that they have $cargo == 'Administrador' ? I have seen many being used with number, but I want to leave it registered with the name Administrator or Visitor and thus in the menu, to be able to be sho...
asked by 11.07.2018 / 23:43
2
answers

Why are not you comparing?

I have this code to compare the email and the password that are in the database, but always gives the data are wrong, not letting in. What's wrong with the code, can you help me? <?php $servername = "localhost"; $username = "isabelso_isabe...
asked by 16.06.2017 / 16:08
1
answer

login with php session

I would like when I get to the login page only a user with a certain login would enter the error when I access php code: if($_SESSION['login'] == 'admin') { echo "logado"; } It gives error in the part of the session in if, as if it did n...
asked by 14.03.2017 / 17:47
2
answers

Login inside the javascript alert

Can you login with a unique user and password within an alert? I want it to be a type code, I just do not know how to put 2 prompt in msm popup     
asked by 22.09.2016 / 20:57
1
answer

Login on index screen

Talk, people, beauty? So I'm developing an ASP.NET MVC application and I have a login screen, however I include in the navbar login, where from the index the user could enter their email and password and click the enter button without having to...
asked by 07.10.2016 / 20:41
1
answer

Create session variable when logging in - Laravel

Good morning, I'm working on a site made in Laravel, which I did not do. I need to do the following: When the user logs in, I want to get a specific value (column "idLoja") from that user in the database, and create a session variable so that...
asked by 25.02.2016 / 20:08
2
answers

login with cpf or email in php

I'm having a problem when making a login system that the user must be able to authenticate through their e-mail or cpf. I am doing the comparison with the value of the login field received, if it is number I do search with cpf and if not I do...
asked by 23.09.2017 / 15:07
1
answer

Skip User registration activities already logged in the application

Good afternoon. I'd like to know the best way to skip Activities registration when initializing the application on Android when the user is already registered in the application, as in Facebook and other applications that require login...
asked by 04.09.2015 / 22:18
2
answers

How to create a button if you are logged in to an account

Hello, I would like to know when someone is logged in to create a button of type FILE. This created the system of registration and login, but I do not know how to know when it is logged in or not. index.php <!DOCTYPE html PUBLIC "-...
asked by 01.05.2015 / 03:06
1
answer

Problem with Django authentication

I'm having trouble validating login, I'm using a legacy firebird 2.5 database. Could someone help me?     
asked by 11.11.2014 / 16:18