I've tried to stick to the recommended setup (as detailed in the readme) as far as possible, but I'm not comfortable with the sensitive files being accessible - hence the post.
The readme file states that the only include() that's required is the line:
<?php include("protect.php")...
The script (pageprotect http://php.warpedweb.net/) uses 4 separate PHP pages - Login, Conf, Protect and Admin.
Effectively, the file pointers are set up in the Conf file as in the example snippet given below:
// Sets the path to the user data file which stores the username/encrypted password...
I've been searching the web all day for some form of answer to this but with no joy...
I have a PHP login script that works fine, and uses separate users.dat and log.dat files that are in plain text format (the passwords are md5 encoded). I don't want these to be at the document root level or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.