PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
radicalfix
Forum Newbie
Posts: 7 Joined: Mon Dec 04, 2006 10:49 pm
Post
by radicalfix » Sun Apr 08, 2007 9:50 pm
I have a problem, I have a folder that contains several important files, which I want to prevent people from viewing it.
I used .htaccess to achived what I wanted to do, but now I cannot access directly using php script.
Any idea?
Thank you.
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Sun Apr 08, 2007 9:53 pm
If php is running on the same server your files are placed it's unaffected by any access restrictions you might place into that .htaccess