Solved

PHP Authentication System

Posted on 2012-12-24
4
514 Views
Last Modified: 2013-11-19
Need some expert advice,

I have a site that currently uses phpbb for authentication for the entire site (localgolfer.com).  I would like to remove phpbb from the site and find a new authentication system.

I'm trying to find a framework for user login that is the following:

-Can import my current username/passwords database, and legacy users can still login via username and password
-Easy to use a simple if statement to test if the user is logged in
-PHP based
-User stays logged in from page to page and framework handles all that
-Has social login abilities for at least Facebook, but also Twitter, etc.
-Easy to integrate with MySQL and I can add extra "profile" fields without having to deal with framework.

I have seen HybridAuth and LoginRadius, but I do not think I can import usernames and have users still login with username and password.
0
Comment
Question by:neilsav
4 Comments
 
LVL 31

Accepted Solution

by:
Marco Gasi earned 250 total points
ID: 38719370
I don't know if it exists an authentication library which allows you to import existent users, but this could be a trivial task, once you know how new db tables used by the library are structured. You can simply write a little script to get all needed data from the current user tables and put them in the new one(s)

Cheers
0
 
LVL 3

Expert Comment

by:wadehults
ID: 38719391
My recommendation would be to move away from pre-builts and more toward custom implementations where you have more control over structure and security.
0
 
LVL 109

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
ID: 38720058
I agree with both the posts from marqusG and wadehults.  If the central issue is managing the login, this article shows how it is done.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html
0
 
LVL 1

Author Comment

by:neilsav
ID: 38723479
Custom it is, thanks for the advice.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question