Questions tagged as 'login'

1
answer

SQL error: System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'Administrator'. at

I have the following error on my SharePoint page and I try to connect to a database but I get an error. I do not know what to do since I have administrator privileges SqlConnection conection = new SqlConnection(@"Data Source=SHAREPOINT\SHAREP...
asked by 09.06.2017 / 01:29
1
answer

Because my login is not redirecting me!

When I log in, it redirects to the page where the driver file is what is this    link THIS IS THE MODEL FILE: <?php class conexion{ private $conexion; private $host = "localhost"; private $usu = "root"; private $pass = ""; pri...
asked by 01.04.2017 / 04:37
1
answer

Codeigniter 3 password_hash

I'm doing a project with CodeIgniter and I need to encrypt the password. Controller methods: Login.php: public function index() { $this->form_validation->set_rules('usuario', 'Usuario', 'trim|required|xss_clean'); $this...
asked by 24.02.2017 / 02:42
2
answers

Response of an echo in a div ID

Good I'm doing a login and I would need the echo that responds to me that does not exist that user or password show me in a div inside the form instead of an echo. resupuesta.php <?php require('conexion/conexion.php');...
asked by 05.09.2018 / 05:16
1
answer

Login with user or with Email with PHP

my query is to know if the following function can be implemented so that the user can log in using both the user and the email the function that I have is the following: function login(){ global $db, $username, $errors; // gra...
asked by 23.08.2018 / 00:45
1
answer

levels of user login

I have created a code that differentiates user levels, specifically 2, client and administrator when logging using PDO. The thing is that I initially put this code on the client page cliente.php <BODY> <!-- NIVEL USUAR...
asked by 08.08.2018 / 16:22
1
answer

I always keep the session in php

hi migos I have a login system which when it should expire because I pass it to another page that does not have session start does not expire. that is, it always keeps me full session variables and it is not what I want I leave the code. When I...
asked by 13.06.2018 / 11:00
1
answer

How to make a login in Laravel using a different model and fields than the default ones?

I hope you can help me please. Recently I started using Laravel and I'm practicing doing a logging system, I want to use the functions that Laravel brings to authenticate users but using a different model than the default (user) and authenticati...
asked by 27.08.2018 / 05:50
1
answer

Do not log in even if the data is correct - PHP

I have a form to "login" the client. With two fields: user and password. Is the syntax for connecting to the database correct? $conexion = mysqli_connect("mysql:host=localhost", "1718d0_osmar", "1718d0_osmar", "1718d0_osmar"); Why...
asked by 10.01.2018 / 23:28
1
answer

How to do a stored procedure in postgresql for login?

This is my db model in question of users It turns out that I need that with the same credentials the user can log in, the intention is to create a procedure where the server returns their user data, and teacher and administrative if it is,...
asked by 09.01.2018 / 22:30