Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rob Allen's Blog:
New Zend_Auth tutorial
Jul 26, 2010 @ 09:06:01

Rob Allen has a new post to his blog today about the update he's made to his Zend_Auth tutorial, introducing the authentication component of the Zend Framework.

After too many months of neglect, I have completely rewritten my Zend_Auth tutorial so that it is compatible with Zend Framework 1.10! As an experiment, I have written it directly in HTML, rather than PDF as before and cover the login form along with the login controller code required to authenticate a user using a database table. For good measure, I've included logging out and a view helper to show how to access the logged in user's details.

The tutorial walks you through the creation of a users table, an auth controller/form and the code needed to validate the user against in information in the table (as well as how to log them out). You can also download the code as a zip file.

tagged: zendauth zendframework tutorial