quote:
Originally posted by Mike
I think scandir(); works only for PHP 5...
Thats correct.
in php4 you could use this function insted
code:
<code>function scandir2($dir){
$dh = opendir($dir);
while (false !== ($filename = readdir($dh))) {
$files[] = $filename;
}
return $files;
}
</code>