Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to implement php login or authentication session

I'm new to php. I've been looking at php login tutorials but they all seem relatively insecure. I would prefer to use a php authentication api or framework. Does anyone know what I can use to implement robust login functionality into my site?

like image 822
Atma Avatar asked Oct 19 '09 17:10

Atma


2 Answers

This is a good intro article: http://net.tutsplus.com/tutorials/php/user-membership-with-php/

There's also a couple of libraries out there for OpenID that were brought up on SO recently:

  • How do I implement Direct Identity based OpenID authentication with Zend OpenID
  • PHP library for openID
like image 176
easement Avatar answered Oct 19 '22 15:10

easement


The Zend framework is good if you want to have a lot of pre-buildt libraries, but be free to mix and match with your own or third-party. The Zend framework includes Zend_Auth, which is complete and ready for use.

like image 42
gnud Avatar answered Oct 19 '22 16:10

gnud