ayandyan Posted July 27, 2010 Share Posted July 27, 2010 Hi, I'm wondering how I can access a remote pc or its shared folders through a php website. I will be able to have access to the remote pc manually for needed configuration or setup. Any ideas or references? Thanks guys. Best, Ian Link to comment https://forums.phpfreaks.com/topic/209045-access-a-computer-or-shared-folder-through-a-website/ Share on other sites More sharing options...
AbraCadaver Posted July 27, 2010 Share Posted July 27, 2010 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. Link to comment https://forums.phpfreaks.com/topic/209045-access-a-computer-or-shared-folder-through-a-website/#findComment-1091867 Share on other sites More sharing options...
ayandyan Posted July 27, 2010 Author Share Posted July 27, 2010 Thanks abra! I'll try to start on those grounds. Link to comment https://forums.phpfreaks.com/topic/209045-access-a-computer-or-shared-folder-through-a-website/#findComment-1091870 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.