CodeIgniter Forums

Full Version: [Help] How to create a user login and registration?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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

El Forum

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

El Forum

[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.