access protected folder

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
saurabh
Forum Newbie
Posts: 13
Joined: Fri Jun 14, 2002 5:43 am
Location: India
Contact:

access protected folder

Post by saurabh »

Hello,

I want a php code or help on how a php script can open a webpage or a script in a folder thats protected by username and password. In doing this the username & password box should not popup.

for example, i have a php script in a folder abc, and in that folder abc is another folder xyz thats password protected. The php script in folder abc should open a file in folder xyz without asking user the username & password. It shouldnt popup the box .

please help.

Thanks,
Saurabh
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Why is the folder password protected if you want to access the pages without username or password?

Mac
MattF
Forum Contributor
Posts: 225
Joined: Sun May 19, 2002 9:58 am
Location: Sussex, UK

Post by MattF »

Maybe it is an admin area :p
saurabh
Forum Newbie
Posts: 13
Joined: Fri Jun 14, 2002 5:43 am
Location: India
Contact:

access protected folder

Post by saurabh »

Hello,

I want to put information in protected folder so that other people cannot view it. Thats why i wanted help on php script so that it can open documents inside protected folder.
Actually i want to process information and its related files r in a folder so i dont want anyone being able to view or download it.

Help me...

Thanks,
Saurabh
Post Reply