ID:               13292
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Filesystem function related
 Operating System: Windows NT/2000
 PHP Version:      4.0.6
 New Comment:

Yes, this functionality are ok.
But only when the PC is trusted in a domäne and you are using a
domain-user.


Previous Comments:
------------------------------------------------------------------------

[2002-04-29 04:14:15] [EMAIL PROTECTED]

Have you tried the //computername/share/filename syntax?

------------------------------------------------------------------------

[2002-02-12 16:44:53] [EMAIL PROTECTED]

I'm using IIS 5.0 on Windows 2000. I installed PHP 4.1.1 configured to
be a CGI interpreter. I'm trying to require a file located on another
W2K computer on our LAN with this code:
 
require '\\\\computername\\sharename\\functions.php';
 
However, when I try to execute this PHP script, I get this error:
 
Fatal error: Failed opening required
'\\computername\sharename\functions.php' (include_path='..') in
c:\inetpub\wwwroot\keygen\index.php on line 3

Supposedly this functionality is supported with PHP 4.1.1, but I'm not
sure why it isn't working for me. The share is a local share and full
access is granted to everyone.

------------------------------------------------------------------------

[2001-12-15 05:54:56] [EMAIL PROTECTED]

Markus noted that you should always use double backslashes (or single
slashes): "\\\\computername\\share\\filename"

BTW: sorry for the typo Christoph... ;)

------------------------------------------------------------------------

[2001-12-15 05:25:33] [EMAIL PROTECTED]

Actually, it does work!!!
Use "//computername/share/filename" or
"\\\\computername\share\filename"
Thanks to Christph Grottolo for the tip.

Now it's only a documentation problem.

------------------------------------------------------------------------

[2001-12-14 14:38:09] [EMAIL PROTECTED]

Doesn't work with 4.1.0 nor with 4.2.0-dev.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/13292

-- 
Edit this bug report at http://bugs.php.net/?id=13292&edit=1

Reply via email to