News Feed
Sections




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

WeberDev.com:
User Authentication With patUser (Part 2)
June 17, 2006 @ 08:09:51

From WeberDev today, there's part two of their "User Authentication with patUser" series, this timie with a focus on managing user data with other patUser functionality.

patUser can do a lot more than just handle user authentication - the library also comes with a large number of methods designed to make the task of managing user data as simple and efficient as possible. Over the course of this second installment, I'm going to show you how these methods work, and how they can be used to quickly create scripts to view, add, edit and delete users (and user attributes) from your database. Keep reading!

They build on the previous article's foundation (and database) to insert some new user information for manipulation and output. They then give some sample code to pull all of the users from the database, pull details for each user (including additional fields created in a database update), and limiting the results based on one of the fields.

They also include another database table and the needed code to help organize the users into groups. They also include the functionality to add and remove groups and users as well as adding and removing people to/from groups directly from the patUser setup. Finally, they finish it with a few "real life" examples to help it all make sense together.

1 comment voice your opinion now!
patuser user authentication management add remove update delete patuser user authentication management add remove update delete


blog comments powered by Disqus

Similar Posts

Developer.com: Authentication in Applications

PHPro.org: SQLite-ON DUPLICATE KEY UPDATE

PHP.net: PHP 5.5.8 Released

Johannes Schluter's Blog: Changes in PHP trunk: No more extension for sqlite version 2

Pim Elshoff's Blog: Dependency management


Community Events





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


list update interview podcast api framework release tips introduction zendserver deployment language series install package laravel opinion library community symfony

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework