chdir("/"); // change to the root folder
$arr=findfirst("*.*",255-16); // get the first entry matching any file, excluding directories
while ($arr) {
print($arr['filename']."\r\n");
$arr=findnext(); // get another matching file
}
?>
====Also See====
[[findnext()]] - Return next matching file information (after a findfirst)
[[timefromfat()]] - Convert a FAT filetime to a Linux Timestamp
[[strftime()]] - Format a Linux Timestamp using a format string
[[chdir()]] - Change the current directory
[[file_exists()]] - Check if a file exists
[[filesize()]] - Return the size of a file, or the number of unread bytes in a stream or socket