|
|
|
|
|
|
Function disk_file_list | Language: PHP
|
Syntax
Parameters
| STRING | Folder | Path to the folder, or an empty string for the current folder. |
Return value
Description
Returns in an array the list of files found in the specified folder.
Folders are not returned.
See also: disk.folder.list |
PHP Sample Code
$files = disk_file_list("");
$files_count = count($files);
for($ptr = 0; $ptr < $files_count; $ptr++) {
echo($files[$ptr]."<BR>");
} |
|
|
|