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