jej1216 Posted November 13, 2007 Share Posted November 13, 2007 I need to have users be able to see a directory tree of some forms in specific folders on a server. The end-goal is to allow a forms admin to upload forms and have them immediately available for the user to open and download/print. The forms are mostly PDF but a few are XLS. Currently, I have manually uploaded the forms and kept a MySQL Database of forms names and their HTTP address - while this works, it is way too time-consuming to update forms and the DB. Is there a better way to do this with PHP (or any other method)? TIA, jej1216 Link to comment https://forums.phpfreaks.com/topic/77186-solved-how-to-show-directory-of-forms-on-a-server/ Share on other sites More sharing options...
Barand Posted November 13, 2007 Share Posted November 13, 2007 have a look at uk3.php.net/glob Link to comment https://forums.phpfreaks.com/topic/77186-solved-how-to-show-directory-of-forms-on-a-server/#findComment-390902 Share on other sites More sharing options...
jej1216 Posted November 13, 2007 Author Share Posted November 13, 2007 Wow - great! That's exactly what I needed. I now have a list of pdf files (with hyperlinks) by using just a few lines of code. Thanks, jej1216 Link to comment https://forums.phpfreaks.com/topic/77186-solved-how-to-show-directory-of-forms-on-a-server/#findComment-390977 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.