Re: [PHP] Php Dynamic Pages & Apache Server

2002-08-01 Thread Nicole Lallande
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,'.'));

Re: [PHP] Php Dynamic Pages & Apache Server

2002-08-01 Thread Lee
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