Hello, is it possible to pull all of the files out of a directory with a php script, and use their names, urls, or w/e else and list them on the page, without the files information stored somewhere like a mysql database? Thanks
I think you're asking how to list the files in the directory, right? IF so, there are examples in the manual of how to do this. http://us3.php.net/manual/en/function.readdir.php
Untested, but give it a try. <?php $dir = './path/to/files/*'; foreach (glob($dir) AS $file) { echo '<p style="margin:2px">'. $file .'</p>'. "\n"; } ?> PHP: