|
Posted by Lorenzo Thurman on 11/11/11 11:47
In article <lorenzo-0FCFDC.15544328042006@hedley.thethurmans.com>,
Lorenzo Thurman <lorenzo@nospamthethurmans.com> wrote:
> I need to connect to a remote Windows file server to read some files.
> How do I go about doing that. I've found various *connect functions, but
> they're all designed to connect to databases from what I can see.I've
> run across something called YAZ, which may do what I want but I don't
> know if Win2k is copliant. Any pointers would be greatly appreciated.
> Thanks
I figured it out:
Since I'm connecting from a Windows computer to another Windows
computer, I can use shell_exec to connect with a UNC. Something like
this will work
shell_exec("net use \\server\share /user:user password");
Navigation:
[Reply to this message]
|