Welcome Guest, Not a member yet? Register   Sign In
Simple User Login
#1

[eluser]Jedi_Mind[/eluser]
Hello,

Can somebody show me how to create a simple user login please?

I have a form which i can register a user, it saves the details to a table called tbl_register

I now want to use a form where the user types in the username and password and it checks if the user details are in the registration table..if they are i'd like it to simply display which user is now logged in

as soon as this is sorted i can then create a logout, user session etc

Thank you guys, im very new to this
#2

[eluser]2think[/eluser]
Jedi_mind,

Here's an article, not sure if there's more help in the comments: http://davidwinter.me.uk/articles/2009/0...deigniter/

Don't forget, you can also check the code of others such as Matt Auth and Ion Auth (they can both be found in the Ignited Code section).
#3

[eluser]Iwasignited[/eluser]
Also, you may want to check out Jeff Way's Codeigniter from scratch series

Day 6 is what you need:
http://net.tutsplus.com/videos/screencas...y-6-login/

Hope that helps




Theme © iAndrew 2016 - Forum software by © MyBB