This will read all '.pdf' files in a sub-directory and put them in a link -
HTH,
Nicole
$dir.");
while($entry = readdir($dir_stream)) {
// get the file extention
$ext = substr($entry, strrpos($entry,'.'));
You could try using the readdir function to read a list of files (full docs
available from http://www.php.net/manual/en/function.readdir.php)
Here is an expanded version of the example give on the above link.
File List
$file";
}
closedir($handle);
}
?>
This example assumes that the
2 matches
Mail list logo