#18712 [Com]: Include not working With UNC

From: Date: Mon, 09 Sep 2002 05:14:25 +0000
Subject: #18712 [Com]: Include not working With UNC
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18701@lists.php.net to get a copy of this message
ID: 18712 Comment by: debug@parafx.com Reported By: seribus@seribus.com Status: Open Bug Type: IIS related Operating System: Windows 2000 PHP Version: 4.2.2 New Comment: I am also having this problem I reported it a while back and it was tagged as a srcipt engine problem. I have recently installed 4.2.3 on Win2k IIS5 and the problem persists. I can include files from within the running dir or under but not ../ Previous Comments: ------------------------------------------------------------------------ [2002-08-02 15:35:00] Seribus_php@seribus.com sorry include ("../f1/include.php"); should be include ("../phptest/f1/include.php"); ------------------------------------------------------------------------ [2002-08-02 15:17:20] seribus@seribus.com PHP version 4.2.2(CGI) IIS 5.0 My includes do not seem to be working with UNC When I use Absolute paths or relative Paths(../,./) <? if (file_exists("\\S1\Share\phptest\f1\include.php") ){ echo "Exists<BR>"; } else { echo "Does not Exist<BR>"; } // Find file So access is not a problem include ("\\S1\Share\phptest\f1\include.php"); //this fails include ("\\S1\Share\phptest\f1\include.php"); include ("../f1/include.php"); //this fails include ("f1/include.php"); //this works ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18712&edit=1

« previous php.bugs (#18701) next »