Sounds like a bug...
Start searching on http://bugs.php.net for similar problems, make sure
you've got current versions of OS and PHP.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Niklas lampén <[EMAIL PROTECTED]>
Newsgroups: php.general
To: Php-General <[EMAIL PROTECTED]>
Sent: Friday, August 24, 2001 2:11 AM
Subject: Reading files from a directory
> I have problem with reading files from directory.
>
> This is the code:
>
> <?
> $Handle = opendir('/www/publico2/docs/map');
>
> while ($file = readdir($Handle)) {
> print "$file<br>\n";
> };
> ?>
>
> That is ALL code on a script file.
> These are the file in directory:
>
> .
> ..
> array_maker.php4
> map.php4
> renamer.php4
> border_bl.gif
> border_bm.gif
> border_br.gif
> border_ml.gif
> border_mr.gif
> border_ul.gif
> border_um.gif
> border_ur.gif
> grid.gif
> map_config.php4
> map_dot.php4
> handle.php4
> map_dot.gif
> core
> md_998634933_071758800998634933.gif
> md_998634937_060465500998634937.gif
> md_998634941_025996400998634941.gif
>
> If I have more than five of the files named like
> "md_123456789_12345.....gif" page returns Internal Server Error (500).
What
> can cause this? Is there a solution?
>
>
> Niklas
>
--
PHP General 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]