|
Free
PHP Tutorials
|
![]() |
home |
Stay
at Home and Learn
|
|||||
PHP Tutorials |
||||||
|
Adding a PHP Username and Password section - Introduction
A lot of sites add a members section, where users are authenticated by means of a username and password. Once the user is logged in successfully, he or she can then gain access to the restricted areas of the site. You'll see how to do that in this walkthrough. For the walkthrough, there are some scripts already prepared. These can be found in the login folder, which is one of the folders you downloaded. (It's in the scripts folder.) In this walkthrough, we'll explore some of the things you need to bear in mind when creating a username/password section on your site. What we don't offer is a complete login script. This is, after all, a tutorial site, and we'd much rather help you develop your own scripts. Other things you need to consider before implementing a login section on your site are discussed at the end of this section. You need to read these!
|