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

DevShed:
Authentication Scripts for a User Management Application
Dec 02, 2008 @ 15:31:45

DevShed continues their series looking at user authentication in PHP applications with this third part of the nine part series. The focus is on the creation of the authentication scripts.

In this article we will continue to discuss the application-wide scripts that we started to talk about in the last article. These special scripts are used by all the scripts and pages of the application. We will continue to look at the func.inc script that has several useful functions defined in it.

Their func.inc script contains the helper functions the rest of the application can use (like isAdmin, isAuthd, genpass and checkEamil). They explain each of the the functions and include an example of them in action. The also include the other half of the pair - the logout script.

tagged: user management application tutorial login logout

Link:


Trending Topics: