I should have read the manual better. <?php
if ($dir = @opendir("/tmp")) {
while (($file = readdir($dir)) !== false) {
echo "$file\n";
}
closedir($dir);
}
?>
J.Veenhuijsen wrote:
I need to retrieve a list of files (jpg) in a directory. Is there a function like findfirst(*.jpg) like there is in Delphi? Thanks in advance ? Jochem
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
