opendir('.') seems to point to / directory
| From: | Yusuf Goolamabbas | Date: | Thu, 25 May 2000 03:37:19 +0000 |
| Subject: | opendir('.') seems to point to / directory | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15718@lists.php.net to get a copy of this message | ||
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>" ;
}
?>