Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] login
#3

(This post was last modified: 09-01-2016, 03:05 AM by Diederik.)

Not trying to be blunt but considering your other questions here on the forum I believe you are not experienced enough to create a secure login.

PHP Code:
$this->db->where('username'$username);
$this->db->where('password'$password); 

For example, you are storing the password as plaintext in your database, this is bad practice. Always store a (salted) hash of the password and compare the hash of the user input to the stored hash.

I suggest you try to integrate an existing (and proven) solution like community auth or ion auth.
Reply


Messages In This Thread
[SOLVED] login - by davy_yg - 09-01-2016, 01:06 AM
RE: login - by salain - 09-01-2016, 02:59 AM
RE: login - by Diederik - 09-01-2016, 03:04 AM
RE: login - by wolfgang1983 - 09-01-2016, 03:27 AM
RE: login - by Paradinight - 09-04-2016, 12:20 PM
RE: login - by wolfgang1983 - 09-05-2016, 07:41 PM
RE: login - by davy_yg - 09-03-2016, 06:20 AM
RE: login - by wolfgang1983 - 09-03-2016, 07:10 PM
RE: login - by InsiteFX - 09-03-2016, 11:38 AM
RE: login - by davy_yg - 09-06-2016, 12:07 AM
RE: login - by InsiteFX - 09-06-2016, 04:02 AM
RE: login - by wolfgang1983 - 09-06-2016, 04:18 AM
RE: login - by arma7x - 09-06-2016, 05:26 AM
RE: login - by InsiteFX - 09-06-2016, 09:34 AM
RE: login - by albertleao - 09-06-2016, 11:03 AM
RE: login - by PaulD - 09-06-2016, 02:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB