|
|
Snippet Name: Get All Files into an Array
Description: This loads all of the file names in a given directory into an array.
Comment: (none)
Language: PHP
Highlight Mode: PHP
Last Modified: February 27th, 2009
|
<?PHP
$files = GLOB('/path/to/some/directory/*.*');
PRINT_R($files);
?> |
|
|
|
|
|