News Feed

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

Robert Basic's Blog:
Login example with Zend_Auth
January 05, 2009 @ 22:14:39

Robert Basic has posted an example of the use of the Zend_Auth component of the Zend Framework inside of an example controller.

So, here's what I'm going to do: authenticate an user against a database table using Zend Framework's Zend_Auth component. It's really a piece of cake. You can see a working example here:

He sets up a registry instance, a database table for the logins and the sample controller with both login and logout functionality. Complete code (and links to Zend Framework documentation are included).

0 comments voice your opinion now!
zendframework login logout tutorial zendauth controller

blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Social Logins in PHP with HybridAuth Defining and Using Functions in PHP

Ben Ramsey's Blog: Build PHP 5.4 on CentOS 6.2

Matthew Weier O'Phinney's Blog: Creating Zend_Tool Providers

SitePoint PHP Blog: Writing API Documentation with Slate

Community Events

Don't see your event here?
Let us know!

language voicesoftheelephpant api php7 opinion install extension framework series library interview release laravel unittest community laravel5 podcast introduction xdebug example

All content copyright, 2015 :: - Powered by the Solar PHP Framework