![]() |
![]() |
||||||
|
|||||||
| Tags: directory, file |
![]() |
|
|||
|
Hey Guys, i dont know if this is possible, but im building an intranet and
there a page thats is going to link to lots of files, but these file will be contantly changing, adding and removing. i am wondering on that page is it possible to have a little window with a directory browser to go through the files?. Thanks |
| Sponsored Links |
|
|||
|
> but im building an intranet Is it a web server? If yes- then enable directory browsing for that folder. Use options to pretty it up. -- Alan Adobe Community Expert, dreamweaver http://www.adobe.com/communities/experts/ |
|
|||
|
Yes that probally is an option but not quite answering my question which was
was, is it possible to have a browsing window displayed on a webpage. that would show the contents, if this is not , what is the best way to link documents to be downloaded/viewed from a webpage and update based on new documents added to the directory, without me having to create a link. Thanks |
|
|||
|
I'm not sure what a 'browsing window' is exactly, but if you want to display
files dynamically then you will need to use a server side script. Any scripting language you use will have the capability to read the server file system and then create a list of those files and allow the visitor to click on the link to open the file. |
|
|||
|
"lachy455" <webforumsuser@macromedia.com> wrote in message news:g9nrv2$5bs$1@forums.macromedia.com... > Yes that probally is an option but not quite answering my question which > was > was, is it possible to have a browsing window displayed on a webpage. that > would show the contents, what do you mean by "browsing window"? If you allow directory listing for that folder, it will list all files in that folder; it's a "live" view. > if this is not , what is the best way to link documents to be > downloaded/viewed from a webpage and update based on new documents added > to the > directory, without me having to create a link. that sounds like you're wanting more of a document management system and not an intranet - they're not really the same thing. Perhaps if you explained more of what you're wanting to accomplish, the purpose for this listing, people can give you better answers. |
|
|||
|
http://www.elkingtonparkltd.com
Here is my own private web site, note that this is just for illustrative purposes it wont even be this directory. Ok but as you can see it is what i would like but interactive, users will be constantly uploading new files , so creating links is to hard, or i need something that can display links and atomically update based on new files. So is anything like this possible?? Thanks |
|
|||
|
I will probably go PHP, but i am lost at how to customize these codes any hints?
<?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { $thelist .= '<a href="'.$file.'">'.$file.'</a>'; } } closedir($handle); } ?> <P>List of files:</p> <P><?=$thelist?></p> |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise