#18712 [NEW]: Include not working With UNC

From: Date: Fri, 02 Aug 2002 19:17:20 +0000
Subject: #18712 [NEW]: Include not working With UNC
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15857@lists.php.net to get a copy of this message
From: seribus@seribus.com Operating system: Windows 2000 PHP version: 4.2.2 PHP Bug Type: IIS related Bug description: Include not working With UNC 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 bug report at http://bugs.php.net/?id=18712&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18712&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18712&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18712&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18712&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18712&r=support Expected behavior: http://bugs.php.net/fix.php?id=18712&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18712&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18712&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18712&r=globals

« previous php.bugs (#15857) next »