Hi, I need to open files on a remote computer (from windows to windows) The path is like \\servername\share\file.txt The SMB protocol is supported in PHP and ususally works very well on simple LAN networks (see http://be2.php.net/manual/en/wrappers.php) The default user is the user running the web server (IIS or Apache)
However, I need to use a specified user and password. I have searched the php docs and the web about inserting user and password info into the URL, but found no help. I know SMB allows to define a user and a password,such as most protocols (ftp://usrer:[EMAIL PROTECTED]/share, etc.). But what the hell should I do to use a user and password in the PHP implemetation of SMB?? Under windows, we use 'net use * \\smbserver\share password /user:username', so the user and password are not part of the URL of the file. Could someone help me? thank you vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php