Require File on Another Computer with UNC Reference
| From: | David Drewa | Date: | Tue, 12 Feb 2002 20:15:25 +0000 |
| Subject: | Require File on Another Computer with UNC Reference | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84438@lists.php.net to get a copy of this message | ||
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:\inetput\wwwroot\keygen\index.php on line 3
Does anyone have advice on how to make this UNC reference work correctly?
Thanks!