Changing the Drive

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
User avatar
Regit
Forum Newbie
Posts: 11
Joined: Tue Oct 10, 2006 7:36 am
Location: Here, there, everywhere

Changing the Drive

Post by Regit »

How can I get access to a shared folder on my network ( i need to access some files in this folder to search through ) I have a user name and password that has access to this folder. How can I connect to it, I tried chdir but that didnt work, im assuming it has something to do with me not connecting with the account that has access.

edit: I have the networked mapped to a drive - I but chdir() wont change to this drive, is there another way, or what am I doing wrong?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

If it's a windows network, I don't remember it being possible (without a lot of work.) If it's a *nix based network, you can mount the share as a directory.
Post Reply