15 Replies Latest reply on Sep 17, 2008 10:10 PM by lachy455

    other sudjestions

    lachy455
      ok , seeing my boss is being really difficult with asp and php and installing Apache, are there any other method to show files on a website? (preferably works strait out with iis) , i really don't want to link individually as they will be changing quite often. if i had my way Apache would have been there from the start.

      Thanks
      • 0. Re: other sudjestions
        bregent Most Valuable Participant
        You should be able to use any server side scripting language to do this. What's the problem with asp?
        • 2. Re: other sudjestions
          bregent Most Valuable Participant
          Of course, you can just enable directory browsing, but that's usually not recommended for security reasons.
          • 3. Re: other sudjestions
            Level 7
            two asp possibles from searching at hotscripts.com

            http://www.freevbcode.com/ShowCode.Asp?ID=770

            http://www.winutility.com/listfiles/

            --
            Alan
            Adobe Community Expert, dreamweaver

            http://www.adobe.com/communities/experts/



            • 4. Re: other sudjestions
              lachy455 Level 1
              mm strange something as simple as that asp one works http://www.freevbcode.com/ShowCode.Asp?ID=770 (only one directory though) , but them something a little nicer like ckfinder( http://www.ckfinder.com/download) doesn't work :( i really don't get this, anyone know why ckfinder wont work or know a script as nice looking as it to work on iis?
              • 5. Re: other sudjestions
                bregent Most Valuable Participant
                It's very hard to help you when you don't describe what is going wrong or provide any error messages you are getting. If you now have asp working then you can try my script:
                http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=189&threadid =1366211
                • 6. Re: other sudjestions
                  bregent Most Valuable Participant
                  >Maybe a little easier to get to the bottom of this now,
                  >
                  > http://img165.imageshack.us/my.php?image=detailederrorsfe5.jpg

                  That's an error message that is telling you that the file can't be found. It's really as simple as that. Did you install the file(s). Also, if this is supposed to be an asp file, why does it have a .html extension? You mentioned somewhere that this is for an intranet. Do you have an IT department or someone with web server experience? You seem to be in over your head at the moment.
                  • 7. Re: other sudjestions
                    lachy455 Level 1
                    Maybe a little easier to get to the bottom of this now,

                    http://img165.imageshack.us/my.php?image=detailederrorsfe5.jpg
                    • 8. Re: other sudjestions
                      bregent Most Valuable Participant
                      Also, I notice that the file path has 'downlaods' in it. Is that supposed to be 'downloads' ?
                      • 9. Re: other sudjestions
                        lachy455 Level 1
                        yea just me not typing write, well my ckfinder asp script is refusing to open so here is my php one, is someone can give me the general idea of this error and how to fix it it would be good.
                        http://img262.imageshack.us/my.php?image=retryyl9.jpg
                        • 10. Re: other sudjestions
                          lachy455 Level 1
                          i am an it trainee in IT first time i have used php or asp in this sorry if im not perfect...

                          yea i don't know why it has a html extension...
                          • 11. Re: other sudjestions
                            Level 7


                            > yea just me not typing write

                            yeah. that's about it.

                            not much more to comment on.

                            --
                            Alan
                            Adobe Community Expert, dreamweaver

                            http://www.adobe.com/communities/experts/



                            • 12. Re: other sudjestions
                              Level 7
                              lachy455 wrote:
                              > i am an it trainee in IT first time i have used php or asp in this sorry if im not perfect...
                              >
                              > yea i don't know why it has a html extension...

                              IIS won't process the ASP in an HTML file, it needs .asp as the file
                              extension. Try changing it and see if that helps.

                              Dooza
                              • 13. Re: other sudjestions
                                lachy455 Level 1
                                Nope doesn't work changing it to asp, pity its like the only neat looking asp script that i can find that doesn't cost.
                                • 14. Re: other sudjestions
                                  bregent Most Valuable Participant
                                  What do you mean, 'neat looking script' ? What is neat about it? And did you look at the one I provided? It's simple but it gets the job done.
                                  • 15. Re: other sudjestions
                                    lachy455 Level 1
                                    yea , its ok, how would i go about it only displaying certain file types? and maybe putting a border around the file name.
                                    and can you explain why the thumbnail image next to file name and folders wont show?

                                    Thanks