HEELP !! Create links to files in Directory

liunx

Guest
Howdy <br />
Can anyone pleeeease help me? I need to create a Directory list but which must also double as a hyperlink list.<br />
<br />
Senario: I got a Dir with some files in it,the files gets updated daily, file names can change,added and/or removed,<br />
I need to generate a file name list Html format and if you click on the file name you must link to the file.<br />
<br />
Any suggestions?<!--content-->in PHP - a server side language - you can read the contents of any directory, and use this to build a contents list.<br />
<br />
<!-- m --><a class="postlink" href="http://uk.php.net/manual/en/function.is-dir.php">http://uk.php.net/manual/en/function.is-dir.php</a><!-- m --> <br />
<br />
this is a good entry point for directory operations using PHP.<br />
<br />
Any questions - ask in the server side forum.<br />
<br />
cheers,<br />
HK<!--content-->in that folder don't have a index page and you will get your list created. by default the server will list the contents of the said folder if you do not have a index page in it.<!--content-->
 
Back
Top