Folder control using htaccess

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

Post Reply
radicalfix
Forum Newbie
Posts: 7
Joined: Mon Dec 04, 2006 10:49 pm

Folder control using htaccess

Post by radicalfix »

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.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

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
Post Reply