Jump to content

access a computer or shared folder through a website


ayandyan

Recommended Posts

Depends upon what your web server is.  If windows, then map a drive to the shared computer directory and then your php scripts can access it via the drive letter so long as the sharing permissions are correct.

 

With linux, use the mount command.  Make a dir to mount it to:  mkdir /mnt/server

Then something like mount -t cifs //server/dir -o username=uname,password=password /mnt/server

 

Then you can access /mnt/server just like any other dir.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.