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
javi_arboleya
Forum Newbie
Posts: 6 Joined: Thu Mar 30, 2006 2:46 am
Post
by javi_arboleya » Wed Jul 19, 2006 3:30 am
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 » Wed Jul 19, 2006 9:44 am
Map it to a drive letter. Then you can just open it like a normal local file.
Burrito
Spockulator
Posts: 4715 Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah
Post
by Burrito » Wed Jul 19, 2006 10:14 am
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.