How To Protect Pages Outside The Scripts Directory/Folder?
9
Hi there,
I am having a problem with a php login script I downloaded from http://www.angry-frog.com. I have installed it correctly and works fine. But the problem I am having is when I am wanting to protect pages outside the folder/directory such as a sub-directory, the protected pages ain't protected.
Example:
PHP Login Script Location: http://www.mydomain.com/login/free/main.php
Wanting Pages Protected: http://www.mydomain.com/login/free/members/free.php
(and branched out from there)
The pages are only protected if they are in the folder where the script is located. When I place my protected pages within this directory it works fine, users who ain't logged in will get redirected to a page I have promoted. But I have got over 8000 web pages to protect within a sub-directory (see Wanting Pages Protected example URL above).
If I was to move them to this directory http://www.mydomain.com/login/free/... where the login script is located and where the protected pages work fine, this would not smart to put that many files in one directory/folder, if you know what I mean. This would be great if anyone knows how to fix this issue I am having or is familiar with this script produced by angry-frog.com (or even check the free script for your self there to know more about it).
Thanks kindly,
Daniel
I am having a problem with a php login script I downloaded from http://www.angry-frog.com. I have installed it correctly and works fine. But the problem I am having is when I am wanting to protect pages outside the folder/directory such as a sub-directory, the protected pages ain't protected.
Example:
PHP Login Script Location: http://www.mydomain.com/login/free/main.php
Wanting Pages Protected: http://www.mydomain.com/login/free/members/free.php
(and branched out from there)
The pages are only protected if they are in the folder where the script is located. When I place my protected pages within this directory it works fine, users who ain't logged in will get redirected to a page I have promoted. But I have got over 8000 web pages to protect within a sub-directory (see Wanting Pages Protected example URL above).
If I was to move them to this directory http://www.mydomain.com/login/free/... where the login script is located and where the protected pages work fine, this would not smart to put that many files in one directory/folder, if you know what I mean. This would be great if anyone knows how to fix this issue I am having or is familiar with this script produced by angry-frog.com (or even check the free script for your self there to know more about it).
Thanks kindly,
Daniel
- David V
- [ 1 ] Thanks
- [1] reply
- daniel27lt
- [1] reply
- David V
Next Topics on Trending Feed
-
9