opendir('.') seems to point to / directory

[email protected] (Yusuf Goolamabbas)
Newsgroups php.version4
Message-ID <[email protected]>
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>" ;
}

?>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.