From: [EMAIL PROTECTED] Operating system: win98SE PHP version: 4.0.6 PHP Bug Type: *Directory/Filesystem functions Bug description: Wrong filetype displayed
When running this script : <? $d = "/fichiers"; // dir to show $h = opendir($d); while($e = readdir($h)) { echo filetype("$d/$e"); echo "<br>\n"; } closedir($h); ?> the wrong filetype is displayed (files and directories are displayed as directories), except when the script is run in the current (.) directory -- Edit bug report at: http://bugs.php.net/?id=14062&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]