I found this tutorial Creating a PHP Login Script to be very helpful in writing this script, in fact, a lot of the code presented here is very similar to the code presented in that tutorial. The differences are seen with the new "Remember Me" feature, the use of cookies in addition to sessions, and with slight modifications in the design
One of the common problems associated with storing encrypted passwords in a database is that it's impossible to decrypt or retrieve the original password just given the MD5 hash. In the event of a user losing their password, they're pretty much out of luck. The obvious solution, therefore, is to generate a new password, send this to the user, encrypt it, and then store the encrypted new password in the database.
Create Password protected areas on your site, with access to different contents for different users and different types of users Real Life Problem: You can have three kinds of members (Free, Silver, Gold) with some content accessible only to Free members, Some extra content accessible to Silver and Some More accessible to Gold memberships.PHP Site Lock Solution: You create three groups of users and then at the top of each page, you can modify. Create secure downloads on your server so that only authorized users can download your files, ebooks, installers etcReal Life Problem: You have created a great ebook or a great software and you want only authorized users to download it PHP Site Lock Solution: You use the "Protect Downloads" feature to create alternate URLs for your downloads. You use this alternate URL for all downloads. The users never get an idea of the exact location of the downloadable file.You get to see who downloaded the files and how many times each file was downloaded etc. Create time limited downloads on your server so that your members can see all the files available for download but download only some files each day/week/month/year Real Life Problem: You want to offer 2 downloads to your members each month but you want to put all the files that are available for download in your members area. You do not want to add 2 files each month.PHP Site Lock Solution: You create a download category specifying the rule that only two downloads are allowed each month for all files in this category. Create automated memberships for your website and charge a subscription fees using paypal (automatic using IPN) or other methods (manual verification) Have signup on your website where members can register and access a members are Create secure membership areas on your website. Password protect ALL the contents of a directory with automated system. Real Life Problem: You have a lot of content in a folder on your webserver. The content is diverse in nature such as html files, images, audio and video files, text files etc and there are thousands of files that need to be protected from unauthorized users. Now you want to protect all your files in 10 minutes.PHP Site Lock Solution: PHP Site Lock allows you to protect entire folders at one go. You just have to browse a folder, select the authorized users and user groups and click "Protect".It does not get easier than this.(Please note that this works ONLY on servers that supports .htaccess based protection. Usually it works on Linux servers with default settings. Might not work on Windows Servers)
Designs by Crystal Myst constructs custom PHP scripts and is a long-time PHP Developer. Being a PHP developer for such a long time, we can custom-build PHP scripts tied in with MySQL databases and provide your website with high-tech output. We specialize as methodical PHP programmers. All our scripts are built by-hand and from scratch. The owner of this company has been writing, designing and implementing scripts for over 20 years. No job is to big nor small!
The system is special because of the access method uses hash to send the password encrypted to the server. The server send only a cookie containing a Session ID back to the client. All other information is stored in a session file on the server. So, no authetification information but the session id is send over Internet.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.