Re: [PHP] fopen() on a network share?

[email protected] (Brian Dunning)
Newsgroups php.general
Message-ID <[email protected]>
Extra info, in case needed: my code says

fopen('\\servername\sharename\folder\file.xml', 'w');

and it returns "Failed to open stream, no such file or directory".  
I've verified that the PHP machine does have unrestricted permissions  
to that share and to the directory. Thanks.


On Jun 15, 2009, at 1:39 PM, Brian Dunning wrote:

> Running on Windows... I have a network share, \\sharename 
> \foldername, and I want to write a file. How do I format the  
> pathname with fopen() for this?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.