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 Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.