Dear Readers,
I've a little question. is it possible let PHP read what in a directory (which is accesable via internet) and put the content/file-names of that directory in an array?
Gr.
Kasper Schoonman (17yr)
rtm: http://php.nederland.net/manual/nl/function.readdir.php
$dir = opendir($Directory_Path); $i = 0; while($file_name = readdir($dir)) { if (($file_name != ".") && ($file_name != "..")) { $file_array[$i] := $file_name; $i++; } } closedir($dir);