php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: francis dot desilva at nt dot gov dot au
New email:
PHP Version: OS:

 

 [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("\\155.225.57.20\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?



 

  

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-12 02:59 UTC] derick@php.net
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?

Derick
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 15:01:31 2025 UTC