Re: fopen UNC filename
| From: | Christoph Grottolo | Date: | Thu, 21 Feb 2002 10:18:21 +0000 |
| Subject: | Re: fopen UNC filename | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80246@lists.php.net to get a copy of this message | ||
| I tried to fopen("\\machine\shaer\file.txt","w")
|
| on w2k iis 5.0 PHP 4.1.0 and I got fopen invalid argument error. I know,
| that UNC filenames are supported since PHP 4.0.6. I tried variants with
| \\\\machine\\share\\file.txt, ... but the error was the same.
Please read the latest threads about this on php-windows.
It should work (4.06 didn't) with quoted backslashes
(\\\\machine\\share\\file.txt) or slashes ("//server/share/file.txt") if the
permissions are set correctly.
Christoph