Scriptsmount a free web scripts directory provides website scripts, webmaster scripts, web directory scripts, directory scripts, php scripts, perl scripts, cgi scripts, html scripts, database scripts, asp.net scripts, form scripts, guestbook scripts for webmasters
Web Scripts :: PHP :: PHP Tips and Tutorials :: User Authentication
21.
PHP-Based User Authentication
|
|
This tutorial teaches you to initiate user authentication using PHP, and then to authenticate users by matching the value of the global variables $PHP_AUTH_USER, and $PHP_AUTH_PW to a list of valid usernames and passwords. The sample code included with this tutorial will show you how to use either hard-coded values, a flat file, an existing .htpasswd file or a database table to manage your valid usernames and passwords. This tutorial is intended for the PHP programmer who is generally familiar with authentication, but who would be interested in learning a practical method for authenticating access to one or more Web site pages.
Hits: 43 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
Category: PHP :: PHP Tips and Tutorials :: User Authentication
|
24.
A Simple Sessions Tutorial
|
|
This is a short tutorial on how to use the sessions (in PHP4) with a user, form-based login. This would be useful for just about any site where you had a "members only" area and wanted to validate the users from a database or anything else. The examples used authorize off of a MySQL database on the same server.
Hits: 41 Rating: 0.00 Votes: 0
[Detail]
[Send URL]
Category: PHP :: PHP Tips and Tutorials :: User Authentication
|
|
|
|
|