How to list a folder of "My networks places"

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
javi_arboleya
Forum Newbie
Posts: 6
Joined: Thu Mar 30, 2006 2:46 am

How to list a folder of "My networks places"

Post by javi_arboleya »

Hi,

I have a folder in my network places that I need to list from a php script, looking at folder properties I've seen that it has an address like this:

http://projectserver:8082/sites/project ... imaci%F3n/

But I don't know how can I list the files in this folder from php, because "opendir" doesn't permit http addresses.

How can I do this?

thanks in advance
Ward
Forum Commoner
Posts: 74
Joined: Thu Jul 13, 2006 10:01 am

Post by Ward »

Map it to a drive letter. Then you can just open it like a normal local file.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

Ward wrote:Map it to a drive letter. Then you can just open it like a normal local file.
work this usually does not. specific to users mapped drives are. Log in as IUSR you *usually* can not. use a full UNC path you probably must.
Post Reply