ID: 13292 Updated by: [EMAIL PROTECTED] -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Windows NT/2000 PHP Version: 4.0.6 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2001-12-14 14:29:39] [EMAIL PROTECTED] This is not a Scripting Engine Problem, but a FIle System function report. ------------------------------------------------------------------------ [2001-12-14 14:28:20] [EMAIL PROTECTED] Any updates for this? This is a known issue for a long time. To reporter: I don't use windows. Could you try 4.1.0 and report the result? ------------------------------------------------------------------------ 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