views:

407

answers:

2

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?

+1  A: 

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:

easement
It's a good introduction, but he is looking for a API or framework to use, not to write anew. Funnily enough, I have been searching for such an API for a while now and have not yet been successful. I'm interested to see whether any good open source products turn up here.
Pekka
+2  A: 

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.

gnud
The Zend Framework is an excellent framework and very modular. You can use Zend_Auth without including anything else.
Gastón