#22865 [NEW]: including files from higher brother dirs

From: Date: Tue, 25 Mar 2003 04:28:59 +0000
Subject: #22865 [NEW]: including files from higher brother dirs
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36364@lists.php.net to get a copy of this message
From: josmith at albertc dot on dot ca Operating system: WinNT 5 and Linux PHP version: 4.3.1 PHP Bug Type: *General Issues Bug description: including files from higher brother dirs ok... index.php folder1 file1 folder2 file2 That is the dir structure. file1 'include()'s file2 and file1 is included in index. When file1 is called directly from the browser it includes file2 (by using include "../folder2/file2"). However, when file1 is included in index.php the path to file to (located in file1) must be absolute, it cannot be relative (although when fil1 is called directly the path to file2 can be relative). Using any relative path does nto appear to work in this rare case. -- Edit bug report at http://bugs.php.net/?id=22865&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22865&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22865&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22865&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22865&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22865&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22865&r=support Expected behavior: http://bugs.php.net/fix.php?id=22865&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22865&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22865&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22865&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22865&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22865&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22865&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22865&r=gnused

« previous php.bugs (#36364) next »