Dear all
I had a folder which contains a lot of pdf file, the name format of the pdf
files are : x.dateformat.pdf (eg : abcdefg.20020718.pdf).
Now i want to use the php script to detect what files it got in a specific
folder.
i want to make a user input form which will let user to input the
I'd use something like:
?php
$handle=opendir('.');
while (false!==($file = readdir($handle))) {
if ($file != . $file != ..) {
echo $file\n;
}
}
closedir($handle);
?
to retrieve dir listing. If you make a function from it, which you'll give a
path for argument you can make the
2 matches
Mail list logo