PHP 4.0 Bug #4603: opendir('.') seems to point to / directory

From: Date: Fri, 26 May 2000 04:55:46 +0000
Subject: PHP 4.0 Bug #4603: opendir('.') seems to point to / directory
Groups: php.dev 
Request: Send a blank email to php-dev+get-19468@lists.php.net to get a copy of this message
From: yusufg@outblaze.com Operating system: Linux 2.2.12 PHP version: 4.0 Latest CVS (26/05/2000) PHP Bug Type: Scripting Engine problem Bug description: opendir('.') seems to point to / directory PHP4 (CVS) compiled into Apache Running this test script on latest CVS in any directory always prints out the root directory "/" tree info. Doesn't seem correct <?php $handle=opendir('.'); while ($file = readdir($handle)) { echo "$file <BR>" ; } ?>

« previous php.dev (#19468) next »