#18712 [Com]: Include not working With UNC

From: Date: Fri, 02 Aug 2002 19:35:00 +0000
Subject: #18712 [Com]: Include not working With UNC
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15859@lists.php.net to get a copy of this message
ID: 18712 Comment by: Seribus_php@seribus.com Reported By: seribus@seribus.com Status: Open Bug Type: IIS related Operating System: Windows 2000 PHP Version: 4.2.2 New Comment: sorry include ("../f1/include.php"); should be include ("../phptest/f1/include.php"); Previous Comments: ------------------------------------------------------------------------ [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 (#15859) next »