so.. if he can access the drive using cmdline functions... why not simply use a shell cmd within php to access the smb share/file, and slurp/suck in the file/data that way... aside from the potential security issues with using shell functions.. -----Original Message----- From: Shawn McKenzie [mailto:nospam@xxxxxxxxxxxxx] Sent: Tuesday, June 16, 2009 8:40 AM To: php-general@xxxxxxxxxxxxx Subject: Re: fopen() on a network share? jenai tomaka wrote: > Hi, wht dont you try it with IP, ex: fopen('http://11.12.13.14/sharename/folder/file.xml', 'w'); Well, because he's not trying to open a file on an http server, he's trying to open a file over SMB. I haven't seen an SMB wrapper for PHP so smb:// won't work. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php