DevArticles has the latest in the series from Ben Rowe this morning - in his Building a Members Area with PHP
In this part of the series, he builds on the code base that he walked you through before, and creating a new function that will help you tell if a user is logged in and how to tell what kind of user they really are (admin, normal user, guest, etc.). The isLoggedIn() function that he uses heavily in this article helps you quickly and easily determine what kind of user the currently logged in user is. It checks the database and returns one of a few numbers as a result to tell you which level the user is at.
Personally, I think this series has been a pretty good starting point for a lot of people out there, but there are times when I wish there was a bit more meat in each article. This one seems a bit sparse, with only the one function highlighted in it. Even just one more large point wouldn't have been too bad...




