If you don't use an index page and give a link it will show all the files..
Example http://www.rusw.com/li/
The above link is to the folder li "short for links"
If you need more of an explanation you can write
2006-08-17 15:08:36
·
answer #1
·
answered by Rusty Nails 5
·
0⤊
0⤋
not with HTML. The HTML language is static, you write the tag and it does it truly is interest, even if it won't be able to do more beneficial than that. To do what you're when you would want some type of dynamic language, alongside with Java, Javascript, Perl or personal abode web page that immediately builds the HTML code for you.
2016-11-05 01:33:48
·
answer #2
·
answered by ? 4
·
0⤊
0⤋
There is no way to do this with HTML, but you could do it with a dynamic scripting language such as PHP or ASP.
Alternatively there is a very simple solution:
If you simply remove the index.htm or index.html file from the folder (and directory browsing is enabled on your server) then just navigating to that folder in your browser should show you a list of the files in it.
http://www.yoursite.com/your_folder/
If directory browsing is not enabled on your server you will get a forbidden error.
2006-08-21 00:47:49
·
answer #3
·
answered by SorenB 1
·
0⤊
0⤋
Not with HTML. The HTML language is static, you write the tag and it does it's job, but it cannot do more than that. To do what you're after you'd need some sort of dynamic language, such as Java, Javascript, Perl or PHP that automatically builds the HTML code for you.
2006-08-17 15:11:21
·
answer #4
·
answered by HowlinKyote 2
·
0⤊
0⤋
To list all the files in a directory using PHP:
$dirname = "targetdir";// use '.' to list files in same directory
if ($handle = opendir($dirname)) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "$file\n";
}
}
closedir($handle);
}
?>
just change the value of $dirname to whatever the name of the directory containing the files to be listed.
2006-08-17 16:20:09
·
answer #5
·
answered by cybernewsmaster 2
·
0⤊
0⤋
dear member,
search goodle for html or java scripts that can do that because I have seen it before.
kind regards,
ben
2006-08-17 15:04:52
·
answer #6
·
answered by Anonymous
·
0⤊
0⤋
html will not be active and read, you can use asp, basic script, or java script
2006-08-17 16:07:39
·
answer #7
·
answered by T R 1
·
0⤊
0⤋