|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12076 Using fopen() to open files located on a remote machine on a NT LAN
Submitted: 2001-07-11 22:32 UTC Modified: 2001-08-10 11:14 UTC
From: francis dot desilva at nt dot gov dot au Assigned:
Status: Closed Package: Network related
PHP Version: 4.0.6 OS: Windows NT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
46 - 31 = ?
Subscribe to this entry?

 [2001-07-11 22:32 UTC] francis dot desilva at nt dot gov dot au
I am trying to open a file on a remote machine on a windows NT network. (The server and the remote machine are both on that NT network).

e.g. fopen("\\\C$\temp\bg2.gif","r");

However I kept receiving an error message saying that this is an invalid argument, and then I read on the php.faqts knowledgebase that "It is not currently possible to open windows shares with PHP".

Can this be rectified for future php versions?




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-12 02:59 UTC]
PHP already can handle UNC patsh (since 4.0.5 iirc), but I think it needs a name, and not an IP Address. Can you check this?

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jan 24 16:03:41 2022 UTC