how to approach creating a login in codeigniter

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
eoinahern
Forum Newbie
Posts: 8
Joined: Tue Sep 24, 2013 3:30 pm

how to approach creating a login in codeigniter

Post by eoinahern »

hi, iam currently creating a login page in codeigniter with bootstrap. my initial thinking on this is to just check if username and pass are in the db. if they are create a session and allow user view the next php page. when they logout just destroy the session and redirect them to the login page. ive seen the there are special libraries for authentication for codeigniter but tutorials on them dont seem very good and im not sure if i have time to look into them right now. any help or input and what approach to take wold be appreciated! cheers. :D
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: how to approach creating a login in codeigniter

Post by Celauran »

CI doesn't appear to have an authentication library. Wow. There's your first step, then. Maybe this? http://haseydesign.com/flexi-auth/
eoinahern
Forum Newbie
Posts: 8
Joined: Tue Sep 24, 2013 3:30 pm

Re: how to approach creating a login in codeigniter

Post by eoinahern »

flexi-auth looks good alright
eoinahern
Forum Newbie
Posts: 8
Joined: Tue Sep 24, 2013 3:30 pm

Re: how to approach creating a login in codeigniter

Post by eoinahern »

ha ha, quoting myself there
Post Reply