Techno World Inc - The Best Technical Encyclopedia Online!

THE TECHNO CLUB [ TECHNOWORLDINC.COM ] => PHP => Topic started by: Daniel Franklin on September 26, 2007, 11:58:41 AM



Title: PHP & User Login Authentication
Post by: Daniel Franklin on September 26, 2007, 11:58:41 AM
irst part is retrieving the posted variables and assigning them names descriptive of their values. The next part is confirming the variables aren't empty. Then search the database for matching login name, and running password comparison checks if the name is found.

Depending on the validity of the username and password, three different pages can be dynamically rendered to the user. One is a successful login, another is a page saying username/password incorrect, and the last one saying username not found and offering them a link to create an account.

Articles Source - Free Articles