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

DevArticles:
More for the Users (Part 4)
Dec 12, 2002 @ 13:50:54

If you can remember a while back, DevArticles has started a series on Building a Members Area With PHP. Well, they've just posted the latest part of that series, part 4, and talks about remembering users (with cookies) and allowing them to create comments inside the members area.

They start off with the foundation that they laid in the first three parts of this series, and jump off into the world of "automatic logins" with a cookie that retains the user's info so they don't have to log in each time. They then move into a chunk of code that allows you to give your users some space to talk back to you and the news you posting. They also give you, based on their past table structures, some code for displaying your news with the comments intact.

It's some nice clean code that they're putting out on this one, but it might be a little less confusing if the author learned to use the tab key once and a while (heh).

tagged:

Link:


Trending Topics: