ID: 8823
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Closed
Status: Bogus
Bug Type: Directory function related
Assigned To:
Comments:
This is a bogus one I assume
Previous Comments:
---------------------------------------------------------------------------
[2001-01-20 16:28:21] [EMAIL PROTECTED]
See #8822
---------------------------------------------------------------------------
[2001-01-20 16:27:13] [EMAIL PROTECTED]
Bug submitted twice. Marking this one as a duplicate.
---------------------------------------------------------------------------
[2001-01-20 16:07:41] [EMAIL PROTECTED]
function dir_list($dirname)
{
if($dirname[strlen($dirname)-1]!='/')
$dirname.='/';
$handle=opendir($dirname);
while ($file = readdir($handle))
{
if($file=='.'||$file=='..') continue;
$result_array[]=$dirname.$file;
}
closedir($handle);
return $result_array;
};
executed for a directory which has subdirectory that has a digit/special character as
a first character of it's name,
then that subdirectory won't be included in the $result_array
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8823
--
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]