From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.4pl1
PHP Bug Type:     Directory function related
Bug description:  is_dir() does only recognize . and .. as directory, nothing else

 $d = dir("/");
 echo "Handle: ".$d->handle."<br>\n";
 echo "Path: ".$d->path."<br>\n";
 while($entry=$d->read()) {
     if (is_dir($entry)) echo "[DIR]";
     echo $entry."<br>\n";

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to