Like selected file name in PHP
one text
Solution:
What you are looking for is the glob function, here is the doc
Exemple from doc :
foreach (glob("*.txt") as $filename) {
echo "$filename occupe " . filesize($filename) . "\n";
}
Sourceone text
What you are looking for is the glob function, here is the doc
Exemple from doc :
foreach (glob("*.txt") as $filename) {
echo "$filename occupe " . filesize($filename) . "\n";
}
Source