Entry
How do I open a directory located on a remote machine (WinNT), with proper permissions?
Mar 21st, 2000 18:40
Matthew Gregory, Jibril GUEYE, Nathan Wallace, Matt Gregory,
Ok, after a little research here is what you need to do:
1.) You must mount the remote drive. In order to do this, PHP must
have permissions to do mounting or you must do it from the root login.
The remote drive must (of course) be shared. WARNING: This is a MAJOR
security issue. Not really a wise thing to do via PHP. I reccommend
that you consider other options like serving up the directory on a
secure FTP or something of the nature.
2.) treat the directory like any other directory on your Linux box, it
should be mounted under your mnt/yourmountpoint directory.