#18712 [Opn->Bgs]: Include not working With UNC

From: Date: Mon, 09 Sep 2002 10:12:22 +0000
Subject: #18712 [Opn->Bgs]: Include not working With UNC
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18736@lists.php.net to get a copy of this message
ID: 18712 Updated by: sniper@php.net Reported By: seribus@seribus.com -Status: Open +Status: Bogus Bug Type: IIS related Operating System: Windows 2000 PHP Version: 4.2.2 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-09-09 00:15:29] debug@parafx.com Sorry see bug 18443 for more info ------------------------------------------------------------------------ [2002-09-09 00:14:25] debug@parafx.com 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 ../ ------------------------------------------------------------------------ [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 (#18736) next »