CodeIgniter Forums
[Help] How to create a user login and registration? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: [Help] How to create a user login and registration? (/thread-53220.html)



[Help] How to create a user login and registration? - El Forum - 07-15-2012

[eluser]towki[/eluser]
Anyone have a script or any good and clear tutorial on how to make a user registration and login function in codeigniter? There are some on youtube but its outdated. And i cant find any other tutorials for the latest version of CI


[Help] How to create a user login and registration? - El Forum - 07-16-2012

[eluser]solid9[/eluser]
checkout the wiki.


[Help] How to create a user login and registration? - El Forum - 07-16-2012

[eluser]jamesduncan[/eluser]
I just finised doing this.

I used Ion Auth using the following steps

1. Got CI up and running with a clean install and connected to my database (both locally and on my server)

2. Downloaded Ion Auth from git hub - https://github.com/benedmunds/CodeIgniter-Ion-Auth

3. Installed Ion Auth as per the Read Me

3.a - make sure to create the tables needed using the SQL commands included in the project folder (sql/)

4. Basic views are located within the project for Log In and Registration pages

4.a Login - yourproject.com/index.php/auth/login
4.b Registration - yourproject.com/index.php/auth/create_user


It was pretty painless once I went through the basic CI tutorials in the user guide (Ive been at this for about 4 days now...newbie!)

Hope this helps.