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

SitePoint:
User Management for Everyone
Jun 16, 2003 @ 12:22:50

So, the website you've been working on is all up and running, but, suddenly, they want you to introduce multiple users into the mix, and make user management a simple process. What do you do? Well, you could turn to this new article from SitePoint.

In this latest piece, Managing Users with PHP Sessions and MySQL (updated for PHP 4.2+) introduces you to several "user management" concepts and shows you how you can make a simple and quick login system for your site. They start off with the signup process, giving you all the code to create the login form and the logic behind it. Then, they move to the section on controlling access to the different parts of your site using sessions and the user authentication you've already created.

Unfortunately, they are a bit thin on the "user management" details, but they do provide all of the sample code and suggestions on places to get started. It'd be nice to see a suite of tools that, given a header and footer for a site, would incorporate an easy way to control users and access rights for your site. I think a lot of smaller sites could benefit from that...

tagged:

Link:


Trending Topics: