Protected directory with PHP ??

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
duk
Forum Contributor
Posts: 199
Joined: Wed May 19, 2004 8:45 am
Location: London

Protected directory with PHP ??

Post by duk »

hy guys

i need to dev a for user-only area, where all web sites inside a especific directory could be read if they are logged in, but the autentication need to be done at directory perspective and not at all php files.

what the best way to do this with php ??

thanks for the help.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

why don't you just use http authentication?
Post Reply