Zubrag.com :: Forum

zubrag.com => Password Protect Advanced => Topic started by: mrmuzik18 on January 20, 2010, 05:35:45 PM



Title: How to store user names and passwords on a .txt file
Post by: mrmuzik18 on January 20, 2010, 05:35:45 PM
Rather than storing all the user names and passwords in the user.php file, can I call on a .txt file from my server that holds all of that info so that it can easily be edited offline?


Title: Re: How to store user names and passwords on a .txt file
Post by: 1ststop on March 18, 2010, 05:13:14 AM
You can do this with the users.php file as it is. Use your FTP client to download and read the users.php just like any other php file.
If you use a .txt file then ANYBODY can read it from their browser which makes the whole password protection process a total waste of time!